summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthikeyan Ramasubramanian <kramasub@google.com>2020-06-30 16:09:51 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-07-06 06:11:45 +0000
commit11715d8dc6a2ee277ce90fea18bdeb445d4a8500 (patch)
tree8c7b115d2b01a6e9da1e1befa35dd8eea455e957
parentdab20f887e4ef133a5275ca8794c0685480766ec (diff)
mb/google/dedede: Create Boten Legacy variant
Upcoming builds of boten will use 16 MiB SPI ROM. So create a legacy Boten variant to support the builds that use 32 MiB SPI ROM. BUG=None TEST=Build the boten and boten_legacy variant. Cq-Depend: TBD Change-Id: Idf7732768aa7fbf2281a4cbf47b7b5b4f8ef51da Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42961 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Justin TerAvest <teravest@chromium.org>
-rw-r--r--src/mainboard/google/dedede/Kconfig2
-rw-r--r--src/mainboard/google/dedede/Kconfig.name6
2 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/Kconfig b/src/mainboard/google/dedede/Kconfig
index 43225204a0..dcea3fabdd 100644
--- a/src/mainboard/google/dedede/Kconfig
+++ b/src/mainboard/google/dedede/Kconfig
@@ -64,6 +64,7 @@ config MAINBOARD_FAMILY
config MAINBOARD_PART_NUMBER
string
default "Boten" if BOARD_GOOGLE_BOTEN
+ default "Boten" if BOARD_GOOGLE_BOTEN_LEGACY
default "Dedede" if BOARD_GOOGLE_DEDEDE
default "Drawcia" if BOARD_GOOGLE_DRAWCIA
default "Drawcia" if BOARD_GOOGLE_DRAWCIA_LEGACY
@@ -90,6 +91,7 @@ config UART_FOR_CONSOLE
config VARIANT_DIR
string
default "boten" if BOARD_GOOGLE_BOTEN
+ default "boten" if BOARD_GOOGLE_BOTEN_LEGACY
default "dedede" if BOARD_GOOGLE_DEDEDE
default "drawcia" if BOARD_GOOGLE_DRAWCIA
default "drawcia" if BOARD_GOOGLE_DRAWCIA_LEGACY
diff --git a/src/mainboard/google/dedede/Kconfig.name b/src/mainboard/google/dedede/Kconfig.name
index b74752e635..893a45771f 100644
--- a/src/mainboard/google/dedede/Kconfig.name
+++ b/src/mainboard/google/dedede/Kconfig.name
@@ -3,6 +3,12 @@ config BOARD_GOOGLE_BOTEN
select BOARD_GOOGLE_BASEBOARD_DEDEDE
select BASEBOARD_DEDEDE_LAPTOP
+config BOARD_GOOGLE_BOTEN_LEGACY
+ bool "Boten (Legacy)"
+ select BOARD_GOOGLE_BASEBOARD_DEDEDE
+ select BASEBOARD_DEDEDE_LAPTOP
+ select BOARD_ROMSIZE_KB_32768
+
config BOARD_GOOGLE_DEDEDE
bool "Dedede"
select BOARD_GOOGLE_BASEBOARD_DEDEDE