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 <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42960
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
This commit is contained in:
Karthikeyan Ramasubramanian 2020-06-30 16:03:55 -06:00 committed by Patrick Georgi
parent 8d119fcfba
commit dab20f887e
2 changed files with 7 additions and 0 deletions

View File

@ -66,6 +66,7 @@ config MAINBOARD_PART_NUMBER
default "Boten" if BOARD_GOOGLE_BOTEN default "Boten" if BOARD_GOOGLE_BOTEN
default "Dedede" if BOARD_GOOGLE_DEDEDE default "Dedede" if BOARD_GOOGLE_DEDEDE
default "Drawcia" if BOARD_GOOGLE_DRAWCIA default "Drawcia" if BOARD_GOOGLE_DRAWCIA
default "Drawcia" if BOARD_GOOGLE_DRAWCIA_LEGACY
default "Waddledoo" if BOARD_GOOGLE_WADDLEDOO default "Waddledoo" if BOARD_GOOGLE_WADDLEDOO
default "Waddledee" if BOARD_GOOGLE_WADDLEDEE default "Waddledee" if BOARD_GOOGLE_WADDLEDEE
default "Wheelie" if BOARD_GOOGLE_WHEELIE default "Wheelie" if BOARD_GOOGLE_WHEELIE
@ -91,6 +92,7 @@ config VARIANT_DIR
default "boten" if BOARD_GOOGLE_BOTEN default "boten" if BOARD_GOOGLE_BOTEN
default "dedede" if BOARD_GOOGLE_DEDEDE default "dedede" if BOARD_GOOGLE_DEDEDE
default "drawcia" if BOARD_GOOGLE_DRAWCIA default "drawcia" if BOARD_GOOGLE_DRAWCIA
default "drawcia" if BOARD_GOOGLE_DRAWCIA_LEGACY
default "waddledoo" if BOARD_GOOGLE_WADDLEDOO default "waddledoo" if BOARD_GOOGLE_WADDLEDOO
default "waddledee" if BOARD_GOOGLE_WADDLEDEE default "waddledee" if BOARD_GOOGLE_WADDLEDEE
default "wheelie" if BOARD_GOOGLE_WHEELIE default "wheelie" if BOARD_GOOGLE_WHEELIE

View File

@ -13,6 +13,11 @@ config BOARD_GOOGLE_DRAWCIA
bool "Drawcia" bool "Drawcia"
select BOARD_GOOGLE_BASEBOARD_DEDEDE select BOARD_GOOGLE_BASEBOARD_DEDEDE
select BASEBOARD_DEDEDE_LAPTOP 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 select BOARD_ROMSIZE_KB_32768
config BOARD_GOOGLE_WADDLEDOO config BOARD_GOOGLE_WADDLEDOO