From dab20f887e4ef133a5275ca8794c0685480766ec Mon Sep 17 00:00:00 2001 From: Karthikeyan Ramasubramanian Date: Tue, 30 Jun 2020 16:03:55 -0600 Subject: [PATCH] mb/google/dedede: Create Drawcia Legacy variant Upcoming builds of drawcia will use 16 MiB SPI ROM. So create a legacy Drawcia variant to support the builds that use 32 MiB SPI ROM. BUG=None TEST=Build the drawcia and drawcia_legacy variant. Cq-Depend: TBD Change-Id: Ifb5a4778abe38a396e35963a3270b0d3cc9809e0 Signed-off-by: Karthikeyan Ramasubramanian Reviewed-on: https://review.coreboot.org/c/coreboot/+/42960 Tested-by: build bot (Jenkins) Reviewed-by: Justin TerAvest --- src/mainboard/google/dedede/Kconfig | 2 ++ src/mainboard/google/dedede/Kconfig.name | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/src/mainboard/google/dedede/Kconfig b/src/mainboard/google/dedede/Kconfig index 26c369f4c4..43225204a0 100644 --- a/src/mainboard/google/dedede/Kconfig +++ b/src/mainboard/google/dedede/Kconfig @@ -66,6 +66,7 @@ config MAINBOARD_PART_NUMBER default "Boten" if BOARD_GOOGLE_BOTEN default "Dedede" if BOARD_GOOGLE_DEDEDE default "Drawcia" if BOARD_GOOGLE_DRAWCIA + default "Drawcia" if BOARD_GOOGLE_DRAWCIA_LEGACY default "Waddledoo" if BOARD_GOOGLE_WADDLEDOO default "Waddledee" if BOARD_GOOGLE_WADDLEDEE default "Wheelie" if BOARD_GOOGLE_WHEELIE @@ -91,6 +92,7 @@ config VARIANT_DIR default "boten" if BOARD_GOOGLE_BOTEN default "dedede" if BOARD_GOOGLE_DEDEDE default "drawcia" if BOARD_GOOGLE_DRAWCIA + default "drawcia" if BOARD_GOOGLE_DRAWCIA_LEGACY default "waddledoo" if BOARD_GOOGLE_WADDLEDOO default "waddledee" if BOARD_GOOGLE_WADDLEDEE default "wheelie" if BOARD_GOOGLE_WHEELIE diff --git a/src/mainboard/google/dedede/Kconfig.name b/src/mainboard/google/dedede/Kconfig.name index 4e2a45068b..b74752e635 100644 --- a/src/mainboard/google/dedede/Kconfig.name +++ b/src/mainboard/google/dedede/Kconfig.name @@ -13,6 +13,11 @@ config BOARD_GOOGLE_DRAWCIA bool "Drawcia" select BOARD_GOOGLE_BASEBOARD_DEDEDE select BASEBOARD_DEDEDE_LAPTOP + +config BOARD_GOOGLE_DRAWCIA_LEGACY + bool "Drawcia (Legacy)" + select BOARD_GOOGLE_BASEBOARD_DEDEDE + select BASEBOARD_DEDEDE_LAPTOP select BOARD_ROMSIZE_KB_32768 config BOARD_GOOGLE_WADDLEDOO