aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/facebook/fbg1701/Kconfig
diff options
context:
space:
mode:
authorFrans Hendriks <fhendriks@eltan.com>2020-11-20 08:17:31 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-11-22 22:22:46 +0000
commit7e3bf0c5dd712864279fd90e83d7fe57386a7547 (patch)
treea1ee12836f933168ec16274a9bb053c5e94ce3d2 /src/mainboard/facebook/fbg1701/Kconfig
parent3d62781acb3ab7d2496d73b2198bb7e7dcf496c6 (diff)
mb/facebook/fbg1701: Add VBOOT support
Add VBOOT support. Disable USE_VENDOR_ELTAN when VBOOT is enabled. Add FMD file and split binary into RW and RO region settings. Tested on Facebook FBG1701 Signed-off-by: Frans Hendriks <fhendriks@eltan.com> Change-Id: I641bca58c0f7c81d5742235c8b2c184d13c00c55 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46219 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com>
Diffstat (limited to 'src/mainboard/facebook/fbg1701/Kconfig')
-rw-r--r--src/mainboard/facebook/fbg1701/Kconfig30
1 files changed, 29 insertions, 1 deletions
diff --git a/src/mainboard/facebook/fbg1701/Kconfig b/src/mainboard/facebook/fbg1701/Kconfig
index 0f23ed2a0a..411033754a 100644
--- a/src/mainboard/facebook/fbg1701/Kconfig
+++ b/src/mainboard/facebook/fbg1701/Kconfig
@@ -20,7 +20,35 @@ config BOARD_SPECIFIC_OPTIONS
select DISABLE_HPET
select INTEL_GMA_HAVE_VBT
select HAVE_SPD_IN_CBFS
- select USE_VENDORCODE_ELTAN
+
+config USE_VENDORCODE_ELTAN
+ depends on !VBOOT
+ default y
+
+if VBOOT
+
+config VBOOT_VBNV_CMOS
+ default y
+
+config VBOOT_SLOTS_RW_A
+ default y
+
+config VBOOT_NO_BOARD_SUPPORT
+ default y
+
+config VBOOT_ENABLE_CBFS_FALLBACK
+ default y
+
+config FMDFILE
+ default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/vboot-rw.fmd"
+
+config RW_REGION_ONLY
+ default "%/payload logo.bmp %/ramstage vbt.bin %/dsdt.aml config %/postcar"
+
+config RO_REGION_ONLY
+ default "spd.bin fsp.bin cpu_microcode_blob.bin"
+
+endif # VBOOT
config ONBOARD_SAMSUNG_MEM
bool "Onboard memory manufacturer Samsung"