Lean Sheng Tan has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/61321 )
Change subject: mb/intel/ehlcrb: Add vboot support ......................................................................
mb/intel/ehlcrb: Add vboot support
Enable vboot support for EHL CRB board. Provide sample fmd files with both RO only and RO + FW_A IFWI layouts.
Change-Id: I4916cea4b7c32006abb0b4ac6da319d6e19a225f Signed-off-by: Lean Sheng Tan sheng.tan@9elements.com --- M src/mainboard/intel/elkhartlake_crb/Kconfig A src/mainboard/intel/elkhartlake_crb/ehl-vboot-ro.fmd A src/mainboard/intel/elkhartlake_crb/ehl-vboot.fmd 3 files changed, 31 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/61321/1
diff --git a/src/mainboard/intel/elkhartlake_crb/Kconfig b/src/mainboard/intel/elkhartlake_crb/Kconfig index 8526160..afd3a15 100644 --- a/src/mainboard/intel/elkhartlake_crb/Kconfig +++ b/src/mainboard/intel/elkhartlake_crb/Kconfig @@ -35,7 +35,6 @@ default 512
config VBOOT - select VBOOT_LID_SWITCH select VBOOT_MOCK_SECDATA if !MAINBOARD_HAS_TPM2
config UART_FOR_CONSOLE diff --git a/src/mainboard/intel/elkhartlake_crb/ehl-vboot-ro.fmd b/src/mainboard/intel/elkhartlake_crb/ehl-vboot-ro.fmd new file mode 100644 index 0000000..44a9f43 --- /dev/null +++ b/src/mainboard/intel/elkhartlake_crb/ehl-vboot-ro.fmd @@ -0,0 +1,31 @@ +FLASH@0xfe000000 0x2000000 { + SI_ALL@0x0 0x1001000 { + SI_DESC@0x0 0x1000 + SI_ME@0x1000 0x1000000 + } + SI_BIOS@0x1300000 0xD00000 { + RW_MISC@0x0 0x30000 { + UNIFIED_MRC_CACHE@0x0 0x20000 { + RECOVERY_MRC_CACHE@0x0 0x10000 + RW_MRC_CACHE@0x10000 0x10000 + } + RW_ELOG(PRESERVE)@0x20000 0x4000 + RW_SHARED@0x24000 0x4000 { + SHARED_DATA@0x0 0x2000 + VBLOCK_DEV@0x2000 0x2000 + } + RW_VPD(PRESERVE)@0x28000 0x2000 + RW_NVRAM(PRESERVE)@0x2a000 0x6000 + } + WP_RO@0x30000 0xCD0000 { + RO_VPD(PRESERVE)@0x0 0x4000 + RO_SECTION@0x4000 0xccc000 { + FMAP@0x0 0x800 + RO_FRID@0x800 0x40 + RO_FRID_PAD@0x840 0x7c0 + GBB@0x1000 0xef000 + COREBOOT(CBFS)@0xf0000 0xbdc000 + } + } + } +} \ No newline at end of file diff --git a/src/mainboard/intel/elkhartlake_crb/ehl-vboot.fmd b/src/mainboard/intel/elkhartlake_crb/ehl-vboot.fmd new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/mainboard/intel/elkhartlake_crb/ehl-vboot.fmd