summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2020-06-16 01:17:29 -0500
committerPatrick Georgi <pgeorgi@google.com>2020-06-18 08:29:07 +0000
commit7583ffbb600efbe999ac124ee9395d12980e6709 (patch)
tree3d0949fcf62c2c392dd7a6f918701cce0bbbe75f /src/mainboard/google
parentd8aff6098a837a028eed097ef4000fb63c909830 (diff)
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>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/hatch/Kconfig.name8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/hatch/Kconfig.name b/src/mainboard/google/hatch/Kconfig.name
index 0688e09d79..7359911047 100644
--- a/src/mainboard/google/hatch/Kconfig.name
+++ b/src/mainboard/google/hatch/Kconfig.name
@@ -48,7 +48,7 @@ config BOARD_GOOGLE_KINDRED
config BOARD_GOOGLE_HELIOS
bool "-> Helios"
select BOARD_GOOGLE_BASEBOARD_HATCH
- select CHROMEOS_DSM_CALIB
+ select CHROMEOS_DSM_CALIB if CHROMEOS
select DRIVERS_I2C_RT1011
config BOARD_GOOGLE_MUSHU
@@ -58,13 +58,13 @@ config BOARD_GOOGLE_MUSHU
config BOARD_GOOGLE_PALKIA
bool "-> Palkia"
select BOARD_GOOGLE_BASEBOARD_HATCH
- select CHROMEOS_DSM_CALIB
+ select CHROMEOS_DSM_CALIB if CHROMEOS
select DRIVERS_I2C_RT1011
config BOARD_GOOGLE_NIGHTFURY
bool "-> Nightfury"
select BOARD_GOOGLE_BASEBOARD_HATCH
- select CHROMEOS_DSM_CALIB
+ select CHROMEOS_DSM_CALIB if CHROMEOS
select DRIVERS_I2C_MAX98390
config BOARD_GOOGLE_NOIBAT
@@ -79,7 +79,7 @@ config BOARD_GOOGLE_PUFF
config BOARD_GOOGLE_HELIOS_DISKSWAP
bool "-> Helios_Diskswap"
select BOARD_GOOGLE_BASEBOARD_HATCH
- select CHROMEOS_DSM_CALIB
+ select CHROMEOS_DSM_CALIB if CHROMEOS
select DRIVERS_I2C_RT1011
config BOARD_GOOGLE_STRYKE