summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2023-05-08 19:28:10 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-09-21 21:03:12 +0000
commitc7759d1cf9e3d42d4a75183eb7272bb24202a604 (patch)
tree609473739a3899abbcc88828e51874f6c6d41001
parentfe3b3e05da8a96cf16fbb71962fa4d99ccc3bd90 (diff)
mb/google/cherry: Move selects from Kconfig.name to Kconfig
Selects should be done in the Kconfig file instead of Kconfig.name and not mixed over both files. Change-Id: Id1b0d375670f9e59047eff737bc17e61bf93175e Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75016 Reviewed-by: Martin L Roth <gaumless@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/cherry/Kconfig9
-rw-r--r--src/mainboard/google/cherry/Kconfig.name3
2 files changed, 9 insertions, 3 deletions
diff --git a/src/mainboard/google/cherry/Kconfig b/src/mainboard/google/cherry/Kconfig
index 2816f9ba89..3da6725076 100644
--- a/src/mainboard/google/cherry/Kconfig
+++ b/src/mainboard/google/cherry/Kconfig
@@ -4,6 +4,15 @@
config BOARD_GOOGLE_CHERRY_COMMON
def_bool n
+config BOARD_GOOGLE_CHERRY
+ select BOARD_GOOGLE_CHERRY_COMMON
+
+config BOARD_GOOGLE_DOJO
+ select BOARD_GOOGLE_CHERRY_COMMON
+
+config BOARD_GOOGLE_TOMATO
+ select BOARD_GOOGLE_CHERRY_COMMON
+
if BOARD_GOOGLE_CHERRY_COMMON
config VBOOT
diff --git a/src/mainboard/google/cherry/Kconfig.name b/src/mainboard/google/cherry/Kconfig.name
index 9c58e518e6..72194f9ff5 100644
--- a/src/mainboard/google/cherry/Kconfig.name
+++ b/src/mainboard/google/cherry/Kconfig.name
@@ -2,12 +2,9 @@ comment "Cherry"
config BOARD_GOOGLE_CHERRY
bool "-> Cherry"
- select BOARD_GOOGLE_CHERRY_COMMON
config BOARD_GOOGLE_DOJO
bool "-> Dojo"
- select BOARD_GOOGLE_CHERRY_COMMON
config BOARD_GOOGLE_TOMATO
bool "-> Tomato"
- select BOARD_GOOGLE_CHERRY_COMMON