mb/google/glados: Move selects from Kconfig.name to Kconfig

Move selects from Kconfig.name to Kconfig so that the configuration is
at one place and not distributed over two files.

Change-Id: Ifccf2b3521d84f6a678872bbccf9bf390c25ce37
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60060
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Felix Singer 2021-12-12 14:46:50 +01:00 committed by Felix Held
parent e3fd52a802
commit a169c74088
2 changed files with 40 additions and 26 deletions

View File

@ -23,6 +23,46 @@ config BOARD_GOOGLE_BASEBOARD_GLADOS
select SOC_INTEL_SKYLAKE select SOC_INTEL_SKYLAKE
select SYSTEM_TYPE_LAPTOP select SYSTEM_TYPE_LAPTOP
config BOARD_GOOGLE_ASUKA
select BOARD_GOOGLE_BASEBOARD_GLADOS
select DRIVERS_GENERIC_MAX98357A
select EXCLUDE_NATIVE_SD_INTERFACE
select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
config BOARD_GOOGLE_CAROLINE
select BOARD_GOOGLE_BASEBOARD_GLADOS
select DSAR_ENABLE
select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
select SAR_ENABLE
select USE_SAR
config BOARD_GOOGLE_CAVE
select BOARD_GOOGLE_BASEBOARD_GLADOS
select DRIVERS_GENERIC_MAX98357A
select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
config BOARD_GOOGLE_CHELL
select BOARD_GOOGLE_BASEBOARD_GLADOS
select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
config BOARD_GOOGLE_GLADOS
select BOARD_GOOGLE_BASEBOARD_GLADOS
select NHLT_DMIC_4CH if INCLUDE_NHLT_BLOBS
select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
config BOARD_GOOGLE_LARS
select BOARD_GOOGLE_BASEBOARD_GLADOS
select DRIVERS_GENERIC_MAX98357A
select EXCLUDE_NATIVE_SD_INTERFACE
select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
config BOARD_GOOGLE_SENTRY
select BOARD_GOOGLE_BASEBOARD_GLADOS
select DRIVERS_GENERIC_MAX98357A
select NHLT_DMIC_4CH if INCLUDE_NHLT_BLOBS
select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
if BOARD_GOOGLE_BASEBOARD_GLADOS if BOARD_GOOGLE_BASEBOARD_GLADOS
config VBOOT config VBOOT

View File

@ -2,47 +2,21 @@ comment "Glados"
config BOARD_GOOGLE_ASUKA config BOARD_GOOGLE_ASUKA
bool "-> Asuka (Dell Chromebook 13 3380)" bool "-> Asuka (Dell Chromebook 13 3380)"
select BOARD_GOOGLE_BASEBOARD_GLADOS
select DRIVERS_GENERIC_MAX98357A
select EXCLUDE_NATIVE_SD_INTERFACE
select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
config BOARD_GOOGLE_CAROLINE config BOARD_GOOGLE_CAROLINE
bool "-> Caroline (Samsung Chromebook Pro)" bool "-> Caroline (Samsung Chromebook Pro)"
select BOARD_GOOGLE_BASEBOARD_GLADOS
select DSAR_ENABLE
select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
select SAR_ENABLE
select USE_SAR
config BOARD_GOOGLE_CAVE config BOARD_GOOGLE_CAVE
bool "-> Cave (Asus Chromebook Flip C302SA)" bool "-> Cave (Asus Chromebook Flip C302SA)"
select BOARD_GOOGLE_BASEBOARD_GLADOS
select DRIVERS_GENERIC_MAX98357A
select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
config BOARD_GOOGLE_CHELL config BOARD_GOOGLE_CHELL
bool "-> Chell (HP Chromebook 13 G1)" bool "-> Chell (HP Chromebook 13 G1)"
select BOARD_GOOGLE_BASEBOARD_GLADOS
select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
config BOARD_GOOGLE_GLADOS config BOARD_GOOGLE_GLADOS
bool "-> Glados Skylake Reference Board" bool "-> Glados Skylake Reference Board"
select BOARD_GOOGLE_BASEBOARD_GLADOS
select NHLT_DMIC_4CH if INCLUDE_NHLT_BLOBS
select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS
config BOARD_GOOGLE_LARS config BOARD_GOOGLE_LARS
bool "-> Lars (Acer Chromebook 14 for Work (CP5-471))" bool "-> Lars (Acer Chromebook 14 for Work (CP5-471))"
select BOARD_GOOGLE_BASEBOARD_GLADOS
select DRIVERS_GENERIC_MAX98357A
select EXCLUDE_NATIVE_SD_INTERFACE
select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
config BOARD_GOOGLE_SENTRY config BOARD_GOOGLE_SENTRY
bool "-> Sentry (Lenovo Thinkpad 13 Chromebook)" bool "-> Sentry (Lenovo Thinkpad 13 Chromebook)"
select BOARD_GOOGLE_BASEBOARD_GLADOS
select DRIVERS_GENERIC_MAX98357A
select NHLT_DMIC_4CH if INCLUDE_NHLT_BLOBS
select NHLT_MAX98357 if INCLUDE_NHLT_BLOBS
select NHLT_SSM4567 if INCLUDE_NHLT_BLOBS