summaryrefslogtreecommitdiff
path: root/src/mainboard/google/poppy
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-17 05:50:56 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-20 22:04:09 +0000
commitae69f518b672c648ee46863f2cd6b4358ee69c66 (patch)
treeba3a3be8824b76deb8ff216b23c2c84aab5b0c0b /src/mainboard/google/poppy
parentec9de74d2d824200008d6098647fac4a1549fd7c (diff)
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>
Diffstat (limited to 'src/mainboard/google/poppy')
-rw-r--r--src/mainboard/google/poppy/Kconfig28
-rw-r--r--src/mainboard/google/poppy/Kconfig.name14
2 files changed, 28 insertions, 14 deletions
diff --git a/src/mainboard/google/poppy/Kconfig b/src/mainboard/google/poppy/Kconfig
index 462b6943bf..dce2ecc4cf 100644
--- a/src/mainboard/google/poppy/Kconfig
+++ b/src/mainboard/google/poppy/Kconfig
@@ -17,6 +17,34 @@ config BOARD_GOOGLE_BASEBOARD_POPPY
select MAINBOARD_HAS_TPM2
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
config CHROMEOS_WIFI_SAR
diff --git a/src/mainboard/google/poppy/Kconfig.name b/src/mainboard/google/poppy/Kconfig.name
index fe0dd17a70..4b1fe69d83 100644
--- a/src/mainboard/google/poppy/Kconfig.name
+++ b/src/mainboard/google/poppy/Kconfig.name
@@ -2,18 +2,12 @@ comment "Poppy"
config BOARD_GOOGLE_ATLAS
bool "-> Atlas (Google Pixelbook Go)"
- select BOARD_GOOGLE_BASEBOARD_POPPY
- select VARIANT_SPECIFIC_OPTIONS_ATLAS
config BOARD_GOOGLE_POPPY
bool "-> Poppy"
- select BOARD_GOOGLE_BASEBOARD_POPPY
- select VARIANT_SPECIFIC_OPTIONS_POPPY
config BOARD_GOOGLE_NAMI
bool "-> Nami"
- select BOARD_GOOGLE_BASEBOARD_POPPY
- select VARIANT_SPECIFIC_OPTIONS_NAMI
help
The Nami board supports the following devices:
- Acer Chromebook 13 / Spin 13 (Akali)
@@ -24,18 +18,12 @@ config BOARD_GOOGLE_NAMI
config BOARD_GOOGLE_NAUTILUS
bool "-> Nautilus (Samsung Chromebook Plus V2, V2 LTE)"
- select BOARD_GOOGLE_BASEBOARD_POPPY
- select VARIANT_SPECIFIC_OPTIONS_NAUTILUS
config BOARD_GOOGLE_NOCTURNE
bool "-> Nocturne (Google Pixel Slate)"
- select BOARD_GOOGLE_BASEBOARD_POPPY
- select VARIANT_SPECIFIC_OPTIONS_NOCTURNE
config BOARD_GOOGLE_RAMMUS
bool "-> Rammus"
- select BOARD_GOOGLE_BASEBOARD_POPPY
- select VARIANT_SPECIFIC_OPTIONS_RAMMUS
help
The Rammus board supports the following devices:
- Asus Chromebook C425 (Leona)
@@ -43,5 +31,3 @@ config BOARD_GOOGLE_RAMMUS
config BOARD_GOOGLE_SORAKA
bool "-> Soraka (HP Chromebook x2)"
- select BOARD_GOOGLE_BASEBOARD_POPPY
- select VARIANT_SPECIFIC_OPTIONS_SORAKA