mb/google/sarien: 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 sarien w/o CONFIG_CHROMEOS, verify SAR-related Kconfigs not selected. Change-Id: I424033e087bc37c651a922273718fc229b720448 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/68456 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
c586e9a0a3
commit
856a3f4a3c
|
@ -16,14 +16,12 @@ config BOARD_GOOGLE_BASEBOARD_SARIEN
|
||||||
select MAINBOARD_HAS_CHROMEOS
|
select MAINBOARD_HAS_CHROMEOS
|
||||||
select MAINBOARD_HAS_TPM2
|
select MAINBOARD_HAS_TPM2
|
||||||
select MAINBOARD_USES_IFD_EC_REGION
|
select MAINBOARD_USES_IFD_EC_REGION
|
||||||
select SAR_ENABLE
|
|
||||||
select SMBIOS_SERIAL_FROM_VPD if VPD
|
select SMBIOS_SERIAL_FROM_VPD if VPD
|
||||||
select SOC_INTEL_COMMON_BLOCK_HDA_VERB
|
select SOC_INTEL_COMMON_BLOCK_HDA_VERB
|
||||||
select SOC_INTEL_COMMON_BLOCK_SMM_ESPI_DISABLE
|
select SOC_INTEL_COMMON_BLOCK_SMM_ESPI_DISABLE
|
||||||
select SOC_INTEL_WHISKEYLAKE
|
select SOC_INTEL_WHISKEYLAKE
|
||||||
select SPD_READ_BY_WORD
|
select SPD_READ_BY_WORD
|
||||||
select TPM_GOOGLE_CR50
|
select TPM_GOOGLE_CR50
|
||||||
select USE_SAR
|
|
||||||
|
|
||||||
config BOARD_GOOGLE_ARCADA
|
config BOARD_GOOGLE_ARCADA
|
||||||
select BOARD_GOOGLE_BASEBOARD_SARIEN
|
select BOARD_GOOGLE_BASEBOARD_SARIEN
|
||||||
|
@ -37,6 +35,13 @@ config BOARD_GOOGLE_SARIEN
|
||||||
|
|
||||||
if BOARD_GOOGLE_BASEBOARD_SARIEN
|
if BOARD_GOOGLE_BASEBOARD_SARIEN
|
||||||
|
|
||||||
|
config CHROMEOS_WIFI_SAR
|
||||||
|
bool "Enable SAR options for ChromeOS build"
|
||||||
|
depends on CHROMEOS
|
||||||
|
default y if CHROMEOS
|
||||||
|
select SAR_ENABLE
|
||||||
|
select USE_SAR
|
||||||
|
|
||||||
config DISABLE_HECI1_AT_PRE_BOOT
|
config DISABLE_HECI1_AT_PRE_BOOT
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue