mb/google/kukui: revise config structure for Jacuzzi followers

There are more Jacuzzi followers coming and we want to have a simplified
way of adding new boards. Now, detachable and tablets should select
BOARD_GOOGLE_KUKUI_COMMON and clamshells should select
BOARD_GOOGLE_JACUZZI_COMMON.

BUG=None
TEST=make menuconfig; make -j # for kukui, krane, jacuzzi, juniper
BRANCH=kukui

Change-Id: Ifc1eb6a3792f46c5db6b5346902f1114955b28ae
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43436
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Hung-Te Lin 2020-07-14 10:31:59 +08:00
parent b0b7c351d7
commit bc792af28e
2 changed files with 16 additions and 9 deletions

View File

@ -4,6 +4,13 @@
config BOARD_GOOGLE_KUKUI_COMMON
def_bool n
config BOARD_GOOGLE_JACUZZI_COMMON
def_bool n
select BOARD_GOOGLE_KUKUI_COMMON
select DRIVER_PARADE_PS8640 if BOARD_GOOGLE_JACUZZI
# All Jacuzzi followers are using ANX7625 except the reference board.
select DRIVER_ANALOGIX_ANX7625 if !BOARD_GOOGLE_JACUZZI
if BOARD_GOOGLE_KUKUI_COMMON
config VBOOT
@ -28,8 +35,6 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_NATIVE_VGA_INIT
select MAINBOARD_FORCE_NATIVE_VGA_INIT
select HAVE_LINEAR_FRAMEBUFFER
select DRIVER_PARADE_PS8640 if BOARD_GOOGLE_JACUZZI
select DRIVER_ANALOGIX_ANX7625 if BOARD_GOOGLE_JUNIPER || BOARD_GOOGLE_DAMU || BOARD_GOOGLE_KAPPA || BOARD_GOOGLE_CERISE || BOARD_GOOGLE_STERN || BOARD_GOOGLE_WILLOW
select MT8183_DRAM_EMCP if BOARD_GOOGLE_KRANE
config MAINBOARD_DIR

View File

@ -20,30 +20,32 @@ config BOARD_GOOGLE_FLAPJACK
bool "-> Flapjack"
select BOARD_GOOGLE_KUKUI_COMMON
comment "Jacuzzi"
config BOARD_GOOGLE_JACUZZI
bool "-> Jacuzzi"
select BOARD_GOOGLE_KUKUI_COMMON
select BOARD_GOOGLE_JACUZZI_COMMON
config BOARD_GOOGLE_JUNIPER
bool "-> Juniper"
select BOARD_GOOGLE_KUKUI_COMMON
select BOARD_GOOGLE_JACUZZI_COMMON
config BOARD_GOOGLE_KAPPA
bool "-> Kappa"
select BOARD_GOOGLE_KUKUI_COMMON
select BOARD_GOOGLE_JACUZZI_COMMON
config BOARD_GOOGLE_DAMU
bool "-> Damu"
select BOARD_GOOGLE_KUKUI_COMMON
select BOARD_GOOGLE_JACUZZI_COMMON
config BOARD_GOOGLE_CERISE
bool "-> Cerise"
select BOARD_GOOGLE_KUKUI_COMMON
select BOARD_GOOGLE_JACUZZI_COMMON
config BOARD_GOOGLE_STERN
bool "-> Stern"
select BOARD_GOOGLE_KUKUI_COMMON
select BOARD_GOOGLE_JACUZZI_COMMON
config BOARD_GOOGLE_WILLOW
bool "-> Willow"
select BOARD_GOOGLE_KUKUI_COMMON
select BOARD_GOOGLE_JACUZZI_COMMON