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>
This commit is contained in:
Karthikeyan Ramasubramanian 2020-06-30 16:09:51 -06:00 committed by Patrick Georgi
parent dab20f887e
commit 11715d8dc6
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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