summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2023-05-08 19:34:18 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-09-21 21:02:49 +0000
commitf34fd3cb08b869b1eddb8c3cfa103aea5cee163e (patch)
tree0bf3d12944ef372c4def0f0b081790fbf6d15849
parent5135a6016d5ec095b54e54fc657e0d6a02356314 (diff)
mb/google/corsola: 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: I207e25059a9fb9e6a951018e954662931b3f8b93 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75018 Reviewed-by: Martin L Roth <gaumless@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/corsola/Kconfig21
-rw-r--r--src/mainboard/google/corsola/Kconfig.name7
2 files changed, 21 insertions, 7 deletions
diff --git a/src/mainboard/google/corsola/Kconfig b/src/mainboard/google/corsola/Kconfig
index e584ee2d79..7bc4831c27 100644
--- a/src/mainboard/google/corsola/Kconfig
+++ b/src/mainboard/google/corsola/Kconfig
@@ -16,6 +16,27 @@ config BOARD_GOOGLE_STARYU_COMMON
def_bool n
select BOARD_GOOGLE_CORSOLA_COMMON
+config BOARD_GOOGLE_KINGLER
+ select BOARD_GOOGLE_KINGLER_COMMON
+
+config BOARD_GOOGLE_STEELIX
+ select BOARD_GOOGLE_KINGLER_COMMON
+
+config BOARD_GOOGLE_VOLTORB
+ select BOARD_GOOGLE_KINGLER_COMMON
+
+config BOARD_GOOGLE_KRABBY
+ select BOARD_GOOGLE_KRABBY_COMMON
+
+config BOARD_GOOGLE_TENTACRUEL
+ select BOARD_GOOGLE_KRABBY_COMMON
+
+config BOARD_GOOGLE_MAGIKARP
+ select BOARD_GOOGLE_KRABBY_COMMON
+
+config BOARD_GOOGLE_STARMIE
+ select BOARD_GOOGLE_STARYU_COMMON
+
if BOARD_GOOGLE_CORSOLA_COMMON
config VBOOT
diff --git a/src/mainboard/google/corsola/Kconfig.name b/src/mainboard/google/corsola/Kconfig.name
index 5f4ee7d8db..2daa86d530 100644
--- a/src/mainboard/google/corsola/Kconfig.name
+++ b/src/mainboard/google/corsola/Kconfig.name
@@ -2,15 +2,12 @@ comment "Kingler"
config BOARD_GOOGLE_KINGLER
bool "-> Kingler"
- select BOARD_GOOGLE_KINGLER_COMMON
config BOARD_GOOGLE_STEELIX
bool "-> Steelix"
- select BOARD_GOOGLE_KINGLER_COMMON
config BOARD_GOOGLE_VOLTORB
bool "-> Voltorb"
- select BOARD_GOOGLE_KINGLER_COMMON
config BOARD_GOOGLE_PONYTA
bool "-> Ponyta"
@@ -20,18 +17,14 @@ comment "Krabby"
config BOARD_GOOGLE_KRABBY
bool "-> Krabby"
- select BOARD_GOOGLE_KRABBY_COMMON
config BOARD_GOOGLE_TENTACRUEL
bool "-> Tentacruel"
- select BOARD_GOOGLE_KRABBY_COMMON
config BOARD_GOOGLE_MAGIKARP
bool "-> Magikarp"
- select BOARD_GOOGLE_KRABBY_COMMON
comment "Staryu"
config BOARD_GOOGLE_STARMIE
bool "-> Starmie"
- select BOARD_GOOGLE_STARYU_COMMON