diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2020-06-11 23:31:56 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-06-18 08:31:08 +0000 |
commit | dd48b176f31fb99218ff805000d7e630f00921de (patch) | |
tree | 08a105f929c4d800ad92bc9183e7247f8d1308e2 /src/mainboard/google/dedede/Kconfig | |
parent | 57ead8935674f1c487f9a5b347231b37d6650805 (diff) |
mb/google/dedede: Add support for 16 MiB flash map descriptor
Upcoming variant boards will use 16 MiB SPI ROM. So add support for 16
MiB flash map descriptor.
BUG=b:155107866,b:152981693
TEST=Build different variant boards. Ensure that waddledoo which is using
32 MiB SPI ROM boots.
Cq-Depend: chrome-internal:3107306
Change-Id: I8a6868da3280a662ff3a30623804ff135e6cbfbc
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42322
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/Kconfig')
-rw-r--r-- | src/mainboard/google/dedede/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/Kconfig b/src/mainboard/google/dedede/Kconfig index a4b2dc1a76..fe3b886d7d 100644 --- a/src/mainboard/google/dedede/Kconfig +++ b/src/mainboard/google/dedede/Kconfig @@ -1,5 +1,6 @@ config BOARD_GOOGLE_BASEBOARD_DEDEDE def_bool n + select BOARD_ROMSIZE_KB_16384 if !BOARD_ROMSIZE_KB_32768 select DRIVERS_I2C_GENERIC select DRIVERS_I2C_HID select DRIVERS_SPI_ACPI @@ -47,6 +48,11 @@ config DIMM_SPD_SIZE config DRIVER_TPM_SPI_BUS default 0x1 +config FMDFILE + string + default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos-dedede-16MiB.fmd" if BOARD_ROMSIZE_KB_16384 + default "src/mainboard/$(CONFIG_MAINBOARD_DIR)/chromeos-dedede-32MiB.fmd" if BOARD_ROMSIZE_KB_32768 + config MAINBOARD_DIR string default "google/dedede" |