summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-03-24 08:29:08 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-04-14 09:48:55 +0000
commitfc8867c3d8b4560ddcf7c85873601c2516dd67e0 (patch)
tree8a190f60dbaaa2386836d298a80269ac5df46b05 /src/mainboard/lenovo
parent45a354fe787ff2a3f75125edb3b7fa1daad07f34 (diff)
downloadcoreboot-fc8867c3d8b4560ddcf7c85873601c2516dd67e0.tar.xz
mb/lenovo: Add additional FMAPs for stripped ME
Make it easier to use measured boot with stripped ME by providing the corresponding FMAPs. Change-Id: I1763583a42bbc91e6acc06b262deab10d34447a3 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39798 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marcello Sylvester Bauer <sylv@sylv.io> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/t430/vboot-ro-me_clean.fmd21
-rw-r--r--src/mainboard/lenovo/t430s/vboot-ro-me_clean.fmd21
-rw-r--r--src/mainboard/lenovo/t440p/vboot-ro-me_clean.fmd21
-rw-r--r--src/mainboard/lenovo/t530/vboot-ro-me_clean.fmd21
-rw-r--r--src/mainboard/lenovo/x131e/vboot-ro-me_clean.fmd21
-rw-r--r--src/mainboard/lenovo/x1_carbon_gen1/vboot-ro-me_clean.fmd21
-rw-r--r--src/mainboard/lenovo/x230/vboot-ro-me_clean.fmd21
7 files changed, 147 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t430/vboot-ro-me_clean.fmd b/src/mainboard/lenovo/t430/vboot-ro-me_clean.fmd
new file mode 100644
index 0000000000..565cacd3a8
--- /dev/null
+++ b/src/mainboard/lenovo/t430/vboot-ro-me_clean.fmd
@@ -0,0 +1,21 @@
+FLASH@0xff400000 0xc00000 {
+ SI_ALL 0x20000 {
+ SI_DESC 0x1000
+ SI_GBE 0x2000
+ SI_ME
+ }
+ SI_BIOS 0xbe0000 {
+ UNIFIED_MRC_CACHE 0x20000 {
+ RECOVERY_MRC_CACHE 0x10000
+ RW_MRC_CACHE 0x10000
+ }
+
+ WP_RO {
+ FMAP 0x800
+ RO_FRID 0x40
+ RO_PADDING 0x7c0
+ GBB 0x1e000
+ COREBOOT(CBFS)
+ }
+ }
+}
diff --git a/src/mainboard/lenovo/t430s/vboot-ro-me_clean.fmd b/src/mainboard/lenovo/t430s/vboot-ro-me_clean.fmd
new file mode 100644
index 0000000000..565cacd3a8
--- /dev/null
+++ b/src/mainboard/lenovo/t430s/vboot-ro-me_clean.fmd
@@ -0,0 +1,21 @@
+FLASH@0xff400000 0xc00000 {
+ SI_ALL 0x20000 {
+ SI_DESC 0x1000
+ SI_GBE 0x2000
+ SI_ME
+ }
+ SI_BIOS 0xbe0000 {
+ UNIFIED_MRC_CACHE 0x20000 {
+ RECOVERY_MRC_CACHE 0x10000
+ RW_MRC_CACHE 0x10000
+ }
+
+ WP_RO {
+ FMAP 0x800
+ RO_FRID 0x40
+ RO_PADDING 0x7c0
+ GBB 0x1e000
+ COREBOOT(CBFS)
+ }
+ }
+}
diff --git a/src/mainboard/lenovo/t440p/vboot-ro-me_clean.fmd b/src/mainboard/lenovo/t440p/vboot-ro-me_clean.fmd
new file mode 100644
index 0000000000..565cacd3a8
--- /dev/null
+++ b/src/mainboard/lenovo/t440p/vboot-ro-me_clean.fmd
@@ -0,0 +1,21 @@
+FLASH@0xff400000 0xc00000 {
+ SI_ALL 0x20000 {
+ SI_DESC 0x1000
+ SI_GBE 0x2000
+ SI_ME
+ }
+ SI_BIOS 0xbe0000 {
+ UNIFIED_MRC_CACHE 0x20000 {
+ RECOVERY_MRC_CACHE 0x10000
+ RW_MRC_CACHE 0x10000
+ }
+
+ WP_RO {
+ FMAP 0x800
+ RO_FRID 0x40
+ RO_PADDING 0x7c0
+ GBB 0x1e000
+ COREBOOT(CBFS)
+ }
+ }
+}
diff --git a/src/mainboard/lenovo/t530/vboot-ro-me_clean.fmd b/src/mainboard/lenovo/t530/vboot-ro-me_clean.fmd
new file mode 100644
index 0000000000..565cacd3a8
--- /dev/null
+++ b/src/mainboard/lenovo/t530/vboot-ro-me_clean.fmd
@@ -0,0 +1,21 @@
+FLASH@0xff400000 0xc00000 {
+ SI_ALL 0x20000 {
+ SI_DESC 0x1000
+ SI_GBE 0x2000
+ SI_ME
+ }
+ SI_BIOS 0xbe0000 {
+ UNIFIED_MRC_CACHE 0x20000 {
+ RECOVERY_MRC_CACHE 0x10000
+ RW_MRC_CACHE 0x10000
+ }
+
+ WP_RO {
+ FMAP 0x800
+ RO_FRID 0x40
+ RO_PADDING 0x7c0
+ GBB 0x1e000
+ COREBOOT(CBFS)
+ }
+ }
+}
diff --git a/src/mainboard/lenovo/x131e/vboot-ro-me_clean.fmd b/src/mainboard/lenovo/x131e/vboot-ro-me_clean.fmd
new file mode 100644
index 0000000000..565cacd3a8
--- /dev/null
+++ b/src/mainboard/lenovo/x131e/vboot-ro-me_clean.fmd
@@ -0,0 +1,21 @@
+FLASH@0xff400000 0xc00000 {
+ SI_ALL 0x20000 {
+ SI_DESC 0x1000
+ SI_GBE 0x2000
+ SI_ME
+ }
+ SI_BIOS 0xbe0000 {
+ UNIFIED_MRC_CACHE 0x20000 {
+ RECOVERY_MRC_CACHE 0x10000
+ RW_MRC_CACHE 0x10000
+ }
+
+ WP_RO {
+ FMAP 0x800
+ RO_FRID 0x40
+ RO_PADDING 0x7c0
+ GBB 0x1e000
+ COREBOOT(CBFS)
+ }
+ }
+}
diff --git a/src/mainboard/lenovo/x1_carbon_gen1/vboot-ro-me_clean.fmd b/src/mainboard/lenovo/x1_carbon_gen1/vboot-ro-me_clean.fmd
new file mode 100644
index 0000000000..565cacd3a8
--- /dev/null
+++ b/src/mainboard/lenovo/x1_carbon_gen1/vboot-ro-me_clean.fmd
@@ -0,0 +1,21 @@
+FLASH@0xff400000 0xc00000 {
+ SI_ALL 0x20000 {
+ SI_DESC 0x1000
+ SI_GBE 0x2000
+ SI_ME
+ }
+ SI_BIOS 0xbe0000 {
+ UNIFIED_MRC_CACHE 0x20000 {
+ RECOVERY_MRC_CACHE 0x10000
+ RW_MRC_CACHE 0x10000
+ }
+
+ WP_RO {
+ FMAP 0x800
+ RO_FRID 0x40
+ RO_PADDING 0x7c0
+ GBB 0x1e000
+ COREBOOT(CBFS)
+ }
+ }
+}
diff --git a/src/mainboard/lenovo/x230/vboot-ro-me_clean.fmd b/src/mainboard/lenovo/x230/vboot-ro-me_clean.fmd
new file mode 100644
index 0000000000..565cacd3a8
--- /dev/null
+++ b/src/mainboard/lenovo/x230/vboot-ro-me_clean.fmd
@@ -0,0 +1,21 @@
+FLASH@0xff400000 0xc00000 {
+ SI_ALL 0x20000 {
+ SI_DESC 0x1000
+ SI_GBE 0x2000
+ SI_ME
+ }
+ SI_BIOS 0xbe0000 {
+ UNIFIED_MRC_CACHE 0x20000 {
+ RECOVERY_MRC_CACHE 0x10000
+ RW_MRC_CACHE 0x10000
+ }
+
+ WP_RO {
+ FMAP 0x800
+ RO_FRID 0x40
+ RO_PADDING 0x7c0
+ GBB 0x1e000
+ COREBOOT(CBFS)
+ }
+ }
+}