mb/google/glados: Fix WiFi SAR options

SAR-related Kconfigs are only used by ChromeOS, and should be guarded
properly as such (as most other boards do).

TEST=build glados w/o CONFIG_CHROMEOS, verify SAR-related Kconfigs not
selected.

Change-Id: Id8abf68ed2e9720b5580f7965208dbe36460af07
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68458
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Matt DeVillier 2022-10-16 13:56:30 -05:00 committed by Felix Held
parent ad60b7fb56
commit 10817c7d5a
1 changed files with 8 additions and 3 deletions

View File

@ -31,12 +31,10 @@ config BOARD_GOOGLE_ASUKA
config BOARD_GOOGLE_CAROLINE config BOARD_GOOGLE_CAROLINE
select BOARD_GOOGLE_BASEBOARD_GLADOS select BOARD_GOOGLE_BASEBOARD_GLADOS
select DSAR_ENABLE select CHROMEOS_WIFI_SAR if CHROMEOS
select INTEL_GMA_HAVE_VBT select INTEL_GMA_HAVE_VBT
select MAINBOARD_NO_FSP_GOP select MAINBOARD_NO_FSP_GOP
select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
select SAR_ENABLE
select USE_SAR
config BOARD_GOOGLE_CAVE config BOARD_GOOGLE_CAVE
select BOARD_GOOGLE_BASEBOARD_GLADOS select BOARD_GOOGLE_BASEBOARD_GLADOS
@ -75,6 +73,13 @@ config BOARD_GOOGLE_SENTRY
if BOARD_GOOGLE_BASEBOARD_GLADOS if BOARD_GOOGLE_BASEBOARD_GLADOS
config CHROMEOS_WIFI_SAR
bool "Enable SAR options for ChromeOS build"
depends on CHROMEOS
select DSAR_ENABLE
select SAR_ENABLE
select USE_SAR
config DISABLE_HECI1_AT_PRE_BOOT config DISABLE_HECI1_AT_PRE_BOOT
default y default y