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:
parent
b0b7c351d7
commit
bc792af28e
|
@ -4,6 +4,13 @@
|
||||||
config BOARD_GOOGLE_KUKUI_COMMON
|
config BOARD_GOOGLE_KUKUI_COMMON
|
||||||
def_bool n
|
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
|
if BOARD_GOOGLE_KUKUI_COMMON
|
||||||
|
|
||||||
config VBOOT
|
config VBOOT
|
||||||
|
@ -28,8 +35,6 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||||
select HAVE_LINEAR_FRAMEBUFFER
|
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
|
select MT8183_DRAM_EMCP if BOARD_GOOGLE_KRANE
|
||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
|
|
|
@ -20,30 +20,32 @@ config BOARD_GOOGLE_FLAPJACK
|
||||||
bool "-> Flapjack"
|
bool "-> Flapjack"
|
||||||
select BOARD_GOOGLE_KUKUI_COMMON
|
select BOARD_GOOGLE_KUKUI_COMMON
|
||||||
|
|
||||||
|
comment "Jacuzzi"
|
||||||
|
|
||||||
config BOARD_GOOGLE_JACUZZI
|
config BOARD_GOOGLE_JACUZZI
|
||||||
bool "-> Jacuzzi"
|
bool "-> Jacuzzi"
|
||||||
select BOARD_GOOGLE_KUKUI_COMMON
|
select BOARD_GOOGLE_JACUZZI_COMMON
|
||||||
|
|
||||||
config BOARD_GOOGLE_JUNIPER
|
config BOARD_GOOGLE_JUNIPER
|
||||||
bool "-> Juniper"
|
bool "-> Juniper"
|
||||||
select BOARD_GOOGLE_KUKUI_COMMON
|
select BOARD_GOOGLE_JACUZZI_COMMON
|
||||||
|
|
||||||
config BOARD_GOOGLE_KAPPA
|
config BOARD_GOOGLE_KAPPA
|
||||||
bool "-> Kappa"
|
bool "-> Kappa"
|
||||||
select BOARD_GOOGLE_KUKUI_COMMON
|
select BOARD_GOOGLE_JACUZZI_COMMON
|
||||||
|
|
||||||
config BOARD_GOOGLE_DAMU
|
config BOARD_GOOGLE_DAMU
|
||||||
bool "-> Damu"
|
bool "-> Damu"
|
||||||
select BOARD_GOOGLE_KUKUI_COMMON
|
select BOARD_GOOGLE_JACUZZI_COMMON
|
||||||
|
|
||||||
config BOARD_GOOGLE_CERISE
|
config BOARD_GOOGLE_CERISE
|
||||||
bool "-> Cerise"
|
bool "-> Cerise"
|
||||||
select BOARD_GOOGLE_KUKUI_COMMON
|
select BOARD_GOOGLE_JACUZZI_COMMON
|
||||||
|
|
||||||
config BOARD_GOOGLE_STERN
|
config BOARD_GOOGLE_STERN
|
||||||
bool "-> Stern"
|
bool "-> Stern"
|
||||||
select BOARD_GOOGLE_KUKUI_COMMON
|
select BOARD_GOOGLE_JACUZZI_COMMON
|
||||||
|
|
||||||
config BOARD_GOOGLE_WILLOW
|
config BOARD_GOOGLE_WILLOW
|
||||||
bool "-> Willow"
|
bool "-> Willow"
|
||||||
select BOARD_GOOGLE_KUKUI_COMMON
|
select BOARD_GOOGLE_JACUZZI_COMMON
|
||||||
|
|
Loading…
Reference in New Issue