mainboard/msi/ms7d25: Add default vboot configuration

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: I9590a33e828906de083cb23c8b647ed2da0750ee
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64222
Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Michał Żygowski 2022-05-09 16:19:35 +02:00
parent ffec028b54
commit 6db287a5d9
2 changed files with 70 additions and 0 deletions

View File

@ -49,4 +49,26 @@ config CBFS_SIZE
hex
default 0x1000000
config VBOOT
select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC
select GBB_FLAG_DISABLE_FWMP
select GBB_FLAG_DISABLE_LID_SHUTDOWN
select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC
select VBOOT_ALWAYS_ENABLE_DISPLAY
select VBOOT_NO_BOARD_SUPPORT
select HAS_RECOVERY_MRC_CACHE
config VBOOT_SLOTS_RW_AB
default y if VBOOT
config FMDFILE
string
default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rwab.fmd" if VBOOT && VBOOT_SLOTS_RW_AB
# gen_test_hwid.sh script doesn't like parentheses in the MAINBOARD_PART_NUMBER
# Override the GBB_HWID
config GBB_HWID
string
default "MSI_MS7D25"
endif

View File

@ -0,0 +1,48 @@
FLASH 32M {
SI_ALL 4M {
SI_DESC 4K
SI_ME
}
UNUSED 12M
RW_MISC 320K {
UNIFIED_MRC_CACHE(PRESERVE) {
RECOVERY_MRC_CACHE 128K
RW_MRC_CACHE 128K
}
RW_ELOG(PRESERVE) 16K
RW_SHARED 16K {
SHARED_DATA 8K
VBLOCK_DEV 8K
}
RW_VPD(PRESERVE) 8K
RW_NVRAM(PRESERVE) 24K
}
CONSOLE 128K
SMMSTORE(PRESERVE) 256K
RW_SECTION_A 5280K {
VBLOCK_A 64K
FW_MAIN_A(CBFS)
RW_FWID_A 0x100
}
RW_SECTION_B 5280K {
VBLOCK_B 64K
FW_MAIN_B(CBFS)
RW_FWID_B 0x100
}
WP_RO 5M {
RO_VPD(PRESERVE) 16K
RO_SECTION {
FMAP 2K
RO_FRID 0x100
RO_FRID_PAD 0x700
GBB 12K
COREBOOT(CBFS)
}
}
}