mb/siemens/mc_bdx1: Enable VBOOT
Enable VBOOT in Kconfig and provide a flashmap that includes all the needed sections for VBOOT support. Change-Id: Iee12a5d1781c869b20bc14a52ecbf23474caa3fd Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35594 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
f553ae4bf3
commit
3356305ca6
|
@ -16,6 +16,19 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
select MAINBOARD_HAS_TPM2
|
select MAINBOARD_HAS_TPM2
|
||||||
select MAINBOARD_HAS_LPC_TPM
|
select MAINBOARD_HAS_LPC_TPM
|
||||||
|
|
||||||
|
config VBOOT
|
||||||
|
select VBOOT_MEASURED_BOOT
|
||||||
|
select VBOOT_VBNV_FLASH
|
||||||
|
select VBOOT_NO_BOARD_SUPPORT
|
||||||
|
select GBB_FLAG_DISABLE_LID_SHUTDOWN
|
||||||
|
select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
|
||||||
|
select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
|
||||||
|
select GBB_FLAG_DISABLE_FWMP
|
||||||
|
|
||||||
|
config FMDFILE
|
||||||
|
string
|
||||||
|
default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/mc_bdx1.fmd" if VBOOT
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
default "siemens/mc_bdx1"
|
default "siemens/mc_bdx1"
|
||||||
|
@ -30,7 +43,7 @@ config IRQ_SLOT_COUNT
|
||||||
|
|
||||||
config CBFS_SIZE
|
config CBFS_SIZE
|
||||||
hex
|
hex
|
||||||
default 0x00D00000
|
default 0x00D00000 if !VBOOT
|
||||||
|
|
||||||
config VIRTUAL_ROM_SIZE
|
config VIRTUAL_ROM_SIZE
|
||||||
hex
|
hex
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
FLASH@0xff000000 0x1000000 {
|
||||||
|
SI_ALL@0x0 0x300000 {
|
||||||
|
SI_DESC@0x0 0x1000
|
||||||
|
SI_ME@0x1000 0x2ff000
|
||||||
|
}
|
||||||
|
SI_BIOS@0x300000 0xd00000 {
|
||||||
|
RW_MRC_CACHE 0x10000
|
||||||
|
RW_SHARED 0x4000 {
|
||||||
|
SHARED_DATA 0x2000
|
||||||
|
VBLOCK_DEV 0x2000
|
||||||
|
}
|
||||||
|
RW_VPD 0x2000
|
||||||
|
RW_NVRAM 0x2000
|
||||||
|
WP_RO 0xce8000 {
|
||||||
|
RO_VPD 0x4000
|
||||||
|
RO_SECTION 0xce4000 {
|
||||||
|
FMAP 0x800
|
||||||
|
RO_FRID 0x40
|
||||||
|
RO_FRID_PAD 0x7c0
|
||||||
|
GBB 0xef000
|
||||||
|
COREBOOT(CBFS)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue