summaryrefslogtreecommitdiff
path: root/src/mainboard/ocp/wedge100s/Kconfig
diff options
context:
space:
mode:
authorPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-11-12 12:15:15 +0100
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2018-11-21 16:03:31 +0000
commit7470c902d80d04730ac1147336339cc057db1be9 (patch)
treec9f499570f8d434d1ab4decf8d85c24dbc2ca31e /src/mainboard/ocp/wedge100s/Kconfig
parentc14ad8a84dc977c2994f35df4ac09716aca4a876 (diff)
mainboard/ocp/wedge100s: Add vboot support
* Add RO only FMAP. * Add kconfig options. Tested=OCP Wedge100s Change-Id: I1979e0263e41f21c01c407ac81ad1198a53741e8 Signed-off-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Reviewed-on: https://review.coreboot.org/c/29593 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/ocp/wedge100s/Kconfig')
-rw-r--r--src/mainboard/ocp/wedge100s/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/ocp/wedge100s/Kconfig b/src/mainboard/ocp/wedge100s/Kconfig
index 5d4349d377..df6c57e09d 100644
--- a/src/mainboard/ocp/wedge100s/Kconfig
+++ b/src/mainboard/ocp/wedge100s/Kconfig
@@ -16,6 +16,14 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM1
+config VBOOT
+ select VBOOT_VBNV_CMOS
+ 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 MAINBOARD_DIR
string
default "ocp/wedge100s"
@@ -30,6 +38,7 @@ config IRQ_SLOT_COUNT
config CBFS_SIZE
hex
+ default 0x006fa000 if VBOOT
default 0x00200000
config VIRTUAL_ROM_SIZE
@@ -45,6 +54,7 @@ config FSP_PACKAGE_DEFAULT
config FMDFILE
string
+ default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/vboot-ro.fmd" if VBOOT
default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/board.fmd"
endif # BOARD_OCP_WEDGE100S