mb/google/gru: 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: Id7f9b598cc9df51ddf664b851172cc96a710c580
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75023
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer 2023-05-08 19:42:20 +02:00 committed by Felix Singer
parent cef2ca946e
commit 27a1c924e2
2 changed files with 18 additions and 6 deletions

View File

@ -3,6 +3,24 @@
config BOARD_GOOGLE_GRU_COMMON # Umbrella option to be selected by variant boards.
def_bool n
config BOARD_GOOGLE_KEVIN
select BOARD_GOOGLE_GRU_COMMON
config BOARD_GOOGLE_GRU
select BOARD_GOOGLE_GRU_COMMON
config BOARD_GOOGLE_BOB
select BOARD_GOOGLE_GRU_COMMON
config BOARD_GOOGLE_SCARLET
select BOARD_GOOGLE_GRU_COMMON
config BOARD_GOOGLE_NEFARIO
select BOARD_GOOGLE_GRU_COMMON
config BOARD_GOOGLE_RAINIER
select BOARD_GOOGLE_GRU_COMMON
if BOARD_GOOGLE_GRU_COMMON
# Most Grus have TPM2 but later Kevins don't... decide this in one place for

View File

@ -2,24 +2,18 @@ comment "Gru"
config BOARD_GOOGLE_KEVIN
bool "-> Kevin (Samsung Chromebook Plus)"
select BOARD_GOOGLE_GRU_COMMON
config BOARD_GOOGLE_GRU
bool "-> Gru"
select BOARD_GOOGLE_GRU_COMMON
config BOARD_GOOGLE_BOB
bool "-> Bob (Asus Chromebook Flip C101PA)"
select BOARD_GOOGLE_GRU_COMMON
config BOARD_GOOGLE_SCARLET
bool "-> Scarlet"
select BOARD_GOOGLE_GRU_COMMON
config BOARD_GOOGLE_NEFARIO
bool "-> Nefario"
select BOARD_GOOGLE_GRU_COMMON
config BOARD_GOOGLE_RAINIER
bool "-> Rainier"
select BOARD_GOOGLE_GRU_COMMON