summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-16 02:08:10 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-20 22:11:50 +0000
commitb5ff51719d01d32ef2827dfa5f4ddaec74f73334 (patch)
tree545d28353964d4a9a3b029c5313a535116a85298
parent02031018e19f84a34e54bcad8448f65f39ba295b (diff)
mb/google/reef: 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: Id71c63556da73a09c5a6d3e844686ddc3e113ea7 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60148 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--src/mainboard/google/reef/Kconfig24
-rw-r--r--src/mainboard/google/reef/Kconfig.name12
2 files changed, 24 insertions, 12 deletions
diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig
index b0dce1963e..a4bd882560 100644
--- a/src/mainboard/google/reef/Kconfig
+++ b/src/mainboard/google/reef/Kconfig
@@ -22,6 +22,30 @@ config BOARD_GOOGLE_BASEBOARD_REEF
select SOC_INTEL_APOLLOLAKE
select USE_SAR
+config BOARD_GOOGLE_REEF
+ select BASEBOARD_REEF_LAPTOP
+ select BOARD_GOOGLE_BASEBOARD_REEF
+
+config BOARD_GOOGLE_PYRO
+ select BASEBOARD_REEF_LAPTOP
+ select BOARD_GOOGLE_BASEBOARD_REEF
+
+config BOARD_GOOGLE_SAND
+ select BASEBOARD_REEF_LAPTOP
+ select BOARD_GOOGLE_BASEBOARD_REEF
+
+config BOARD_GOOGLE_SNAPPY
+ select BASEBOARD_REEF_LAPTOP
+ select BOARD_GOOGLE_BASEBOARD_REEF
+
+config BOARD_GOOGLE_NASHER
+ select BASEBOARD_REEF_LAPTOP
+ select BOARD_GOOGLE_BASEBOARD_REEF
+
+config BOARD_GOOGLE_CORAL
+ select BASEBOARD_REEF_LAPTOP
+ select BOARD_GOOGLE_BASEBOARD_REEF
+
if BOARD_GOOGLE_BASEBOARD_REEF
config BASEBOARD_REEF_LAPTOP
diff --git a/src/mainboard/google/reef/Kconfig.name b/src/mainboard/google/reef/Kconfig.name
index a3ca6f4e0f..2b33741db7 100644
--- a/src/mainboard/google/reef/Kconfig.name
+++ b/src/mainboard/google/reef/Kconfig.name
@@ -2,30 +2,18 @@ comment "Reef"
config BOARD_GOOGLE_REEF
bool "-> Reef/Electro (Acer Chromebook Spin 11 R751T)"
- select BASEBOARD_REEF_LAPTOP
- select BOARD_GOOGLE_BASEBOARD_REEF
config BOARD_GOOGLE_PYRO
bool "-> Pyro (Lenovo Thinkpad (Yoga) 11e Chromebook)"
- select BASEBOARD_REEF_LAPTOP
- select BOARD_GOOGLE_BASEBOARD_REEF
config BOARD_GOOGLE_SAND
bool "-> Sand (Acer Chromebook 15 CB515-1HT/1H)"
- select BASEBOARD_REEF_LAPTOP
- select BOARD_GOOGLE_BASEBOARD_REEF
config BOARD_GOOGLE_SNAPPY
bool "-> Snappy (HP Chromebook x360 11 G1 EE)"
- select BASEBOARD_REEF_LAPTOP
- select BOARD_GOOGLE_BASEBOARD_REEF
config BOARD_GOOGLE_NASHER
bool "-> Nasher"
- select BASEBOARD_REEF_LAPTOP
- select BOARD_GOOGLE_BASEBOARD_REEF
config BOARD_GOOGLE_CORAL
bool "-> Coral"
- select BASEBOARD_REEF_LAPTOP
- select BOARD_GOOGLE_BASEBOARD_REEF