diff options
author | zaolin <zaolin@das-labor.org> | 2018-03-09 17:27:37 +0100 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-07-30 10:26:03 +0000 |
commit | 0ea7471eec8fc7fa76bde21911e16159b1d51856 (patch) | |
tree | ac44876d8bdfe3a2a5255e4a2fd70bafffcad7ac /src/mainboard/opencellular/rotundu/Kconfig | |
parent | 2ee7f483b1edd78d61f6db29c11b0150e431c2ff (diff) |
mainboard/opencellular/rotundu: Add FMAP support
* Add 8M and 16M fmap configurations.
* Fix kconfig selects.
* Add vboot options and fixes
Change-Id: I49d97a9d324207e45520d43b814b03a20005122a
Signed-off-by: zaolin <zaolin@das-labor.org>
Reviewed-on: https://review.coreboot.org/25084
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/opencellular/rotundu/Kconfig')
-rw-r--r-- | src/mainboard/opencellular/rotundu/Kconfig | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/src/mainboard/opencellular/rotundu/Kconfig b/src/mainboard/opencellular/rotundu/Kconfig index a062a7a95d..edacf0d70f 100644 --- a/src/mainboard/opencellular/rotundu/Kconfig +++ b/src/mainboard/opencellular/rotundu/Kconfig @@ -18,7 +18,7 @@ config BOARD_OPENCELLULAR_BASEBOARD_ROTUNDU def_bool n select SOC_INTEL_FSP_BAYTRAIL - select BOARD_ROMSIZE_KB_16384 + select BOARD_ROMSIZE_KB_8192 select HAVE_ACPI_TABLES select HAVE_OPTION_TABLE select ENABLE_BUILTIN_COM1 @@ -32,6 +32,21 @@ config BOARD_OPENCELLULAR_BASEBOARD_ROTUNDU if BOARD_OPENCELLULAR_BASEBOARD_ROTUNDU +config VBOOT + select MRC_CACHE_FMAP + 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 GBB_HWID + string + depends on VBOOT + default "ROTUNDU" if BOARD_OPENCELLULAR_ROTUNDU + default "SUPABRCKV1" if BOARD_OPENCELLULAR_SUPABRCKV1 + config VARIANT_DIR string default "rotundu" if BOARD_OPENCELLULAR_ROTUNDU @@ -67,11 +82,16 @@ config FSP_LOC hex default 0xfffb0000 -# FIXME: Slow boot performance when increasing CBFS_SIZE beyond 8MB? +config FMDFILE + string + depends on VBOOT + default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/vboot-8M.fmd" if BOARD_ROMSIZE_KB_8192 + default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/vboot-16M.fmd" if BOARD_ROMSIZE_KB_16384 + config CBFS_SIZE hex - default 0x00200000 if BOARD_ROMSIZE_KB_8192 - default 0x00800000 + default 0x00140000 if BOARD_ROMSIZE_KB_8192 + default 0x003effc0 if BOARD_ROMSIZE_KB_16384 config VIRTUAL_ROM_SIZE hex |