From 11715d8dc6a2ee277ce90fea18bdeb445d4a8500 Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Tue, 30 Jun 2020 16:09:51 -0600 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/42961 Tested-by: build bot (Jenkins) Reviewed-by: Justin TerAvest --- src/mainboard/google/dedede/Kconfig | 2 ++ src/mainboard/google/dedede/Kconfig.name | 6 ++++++ 2 files changed, 8 insertions(+) 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