mb/google/hatch: fix variants' selection of CHROMEOS_DSM_CALIB
CHROMEOS_DSM_CALIB requires/selects CHROMEOS, so only select if CHROMEOS already selected, otherwise building for non-ChromeOS targets fails. Test: build HELIOS for non-ChromeOS target (Tianocore payload) Change-Id: Ic0fd3b0a0efbc5a1f6896eb379569a55cb0f67f8 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42414 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
d8aff6098a
commit
7583ffbb60
|
@ -48,7 +48,7 @@ config BOARD_GOOGLE_KINDRED
|
||||||
config BOARD_GOOGLE_HELIOS
|
config BOARD_GOOGLE_HELIOS
|
||||||
bool "-> Helios"
|
bool "-> Helios"
|
||||||
select BOARD_GOOGLE_BASEBOARD_HATCH
|
select BOARD_GOOGLE_BASEBOARD_HATCH
|
||||||
select CHROMEOS_DSM_CALIB
|
select CHROMEOS_DSM_CALIB if CHROMEOS
|
||||||
select DRIVERS_I2C_RT1011
|
select DRIVERS_I2C_RT1011
|
||||||
|
|
||||||
config BOARD_GOOGLE_MUSHU
|
config BOARD_GOOGLE_MUSHU
|
||||||
|
@ -58,13 +58,13 @@ config BOARD_GOOGLE_MUSHU
|
||||||
config BOARD_GOOGLE_PALKIA
|
config BOARD_GOOGLE_PALKIA
|
||||||
bool "-> Palkia"
|
bool "-> Palkia"
|
||||||
select BOARD_GOOGLE_BASEBOARD_HATCH
|
select BOARD_GOOGLE_BASEBOARD_HATCH
|
||||||
select CHROMEOS_DSM_CALIB
|
select CHROMEOS_DSM_CALIB if CHROMEOS
|
||||||
select DRIVERS_I2C_RT1011
|
select DRIVERS_I2C_RT1011
|
||||||
|
|
||||||
config BOARD_GOOGLE_NIGHTFURY
|
config BOARD_GOOGLE_NIGHTFURY
|
||||||
bool "-> Nightfury"
|
bool "-> Nightfury"
|
||||||
select BOARD_GOOGLE_BASEBOARD_HATCH
|
select BOARD_GOOGLE_BASEBOARD_HATCH
|
||||||
select CHROMEOS_DSM_CALIB
|
select CHROMEOS_DSM_CALIB if CHROMEOS
|
||||||
select DRIVERS_I2C_MAX98390
|
select DRIVERS_I2C_MAX98390
|
||||||
|
|
||||||
config BOARD_GOOGLE_NOIBAT
|
config BOARD_GOOGLE_NOIBAT
|
||||||
|
@ -79,7 +79,7 @@ config BOARD_GOOGLE_PUFF
|
||||||
config BOARD_GOOGLE_HELIOS_DISKSWAP
|
config BOARD_GOOGLE_HELIOS_DISKSWAP
|
||||||
bool "-> Helios_Diskswap"
|
bool "-> Helios_Diskswap"
|
||||||
select BOARD_GOOGLE_BASEBOARD_HATCH
|
select BOARD_GOOGLE_BASEBOARD_HATCH
|
||||||
select CHROMEOS_DSM_CALIB
|
select CHROMEOS_DSM_CALIB if CHROMEOS
|
||||||
select DRIVERS_I2C_RT1011
|
select DRIVERS_I2C_RT1011
|
||||||
|
|
||||||
config BOARD_GOOGLE_STRYKE
|
config BOARD_GOOGLE_STRYKE
|
||||||
|
|
Loading…
Reference in New Issue