mb/google/poppy: 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: I462426f2ef4a0ff62c0a7c1eb2a4946fba68c4a9
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60188
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Felix Singer 2021-12-17 05:50:56 +01:00
parent ec9de74d2d
commit ae69f518b6
2 changed files with 28 additions and 14 deletions

View File

@ -17,6 +17,34 @@ config BOARD_GOOGLE_BASEBOARD_POPPY
select MAINBOARD_HAS_TPM2 select MAINBOARD_HAS_TPM2
select SOC_INTEL_KABYLAKE select SOC_INTEL_KABYLAKE
config BOARD_GOOGLE_ATLAS
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_ATLAS
config BOARD_GOOGLE_POPPY
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_POPPY
config BOARD_GOOGLE_NAMI
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_NAMI
config BOARD_GOOGLE_NAUTILUS
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_NAUTILUS
config BOARD_GOOGLE_NOCTURNE
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_NOCTURNE
config BOARD_GOOGLE_RAMMUS
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_RAMMUS
config BOARD_GOOGLE_SORAKA
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_SORAKA
if BOARD_GOOGLE_BASEBOARD_POPPY if BOARD_GOOGLE_BASEBOARD_POPPY
config CHROMEOS_WIFI_SAR config CHROMEOS_WIFI_SAR

View File

@ -2,18 +2,12 @@ comment "Poppy"
config BOARD_GOOGLE_ATLAS config BOARD_GOOGLE_ATLAS
bool "-> Atlas (Google Pixelbook Go)" bool "-> Atlas (Google Pixelbook Go)"
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_ATLAS
config BOARD_GOOGLE_POPPY config BOARD_GOOGLE_POPPY
bool "-> Poppy" bool "-> Poppy"
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_POPPY
config BOARD_GOOGLE_NAMI config BOARD_GOOGLE_NAMI
bool "-> Nami" bool "-> Nami"
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_NAMI
help help
The Nami board supports the following devices: The Nami board supports the following devices:
- Acer Chromebook 13 / Spin 13 (Akali) - Acer Chromebook 13 / Spin 13 (Akali)
@ -24,18 +18,12 @@ config BOARD_GOOGLE_NAMI
config BOARD_GOOGLE_NAUTILUS config BOARD_GOOGLE_NAUTILUS
bool "-> Nautilus (Samsung Chromebook Plus V2, V2 LTE)" bool "-> Nautilus (Samsung Chromebook Plus V2, V2 LTE)"
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_NAUTILUS
config BOARD_GOOGLE_NOCTURNE config BOARD_GOOGLE_NOCTURNE
bool "-> Nocturne (Google Pixel Slate)" bool "-> Nocturne (Google Pixel Slate)"
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_NOCTURNE
config BOARD_GOOGLE_RAMMUS config BOARD_GOOGLE_RAMMUS
bool "-> Rammus" bool "-> Rammus"
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_RAMMUS
help help
The Rammus board supports the following devices: The Rammus board supports the following devices:
- Asus Chromebook C425 (Leona) - Asus Chromebook C425 (Leona)
@ -43,5 +31,3 @@ config BOARD_GOOGLE_RAMMUS
config BOARD_GOOGLE_SORAKA config BOARD_GOOGLE_SORAKA
bool "-> Soraka (HP Chromebook x2)" bool "-> Soraka (HP Chromebook x2)"
select BOARD_GOOGLE_BASEBOARD_POPPY
select VARIANT_SPECIFIC_OPTIONS_SORAKA