summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2023-09-23 21:50:43 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-09-25 16:38:56 +0000
commitfac28854054d96e2e7840a4a294fbbbaf622c0a3 (patch)
tree5bc0b86ebb0c1a413ddb1a7b85d43f31eec4f526 /src/mainboard/google/guybrush
parentc311a7142960de394f7702a67f19fed70f4d97d5 (diff)
mb/google/guybrush: Use only one option for common selects
BOARD_SPECIFIC_OPTIONS is duplicate to BOARD_GOOGLE_BASEBOARD_GUYBRUSH. Thus, move all selects to the latter option. Change-Id: I570c3cfd3d100ad90e35ec5d89686cb6a4bd8e82 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78102 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/google/guybrush')
-rw-r--r--src/mainboard/google/guybrush/Kconfig27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/mainboard/google/guybrush/Kconfig b/src/mainboard/google/guybrush/Kconfig
index 43fd84881b..7f233bead5 100644
--- a/src/mainboard/google/guybrush/Kconfig
+++ b/src/mainboard/google/guybrush/Kconfig
@@ -2,21 +2,6 @@
config BOARD_GOOGLE_BASEBOARD_GUYBRUSH
def_bool n
-
-config BOARD_GOOGLE_GUYBRUSH
- select BOARD_GOOGLE_BASEBOARD_GUYBRUSH
-
-config BOARD_GOOGLE_NIPPERKIN
- select BOARD_GOOGLE_BASEBOARD_GUYBRUSH
- select DRIVERS_GFX_GENERIC
-
-config BOARD_GOOGLE_DEWATT
- select BOARD_GOOGLE_BASEBOARD_GUYBRUSH
-
-if BOARD_GOOGLE_BASEBOARD_GUYBRUSH
-
-config BOARD_SPECIFIC_OPTIONS
- def_bool y
select AMD_SOC_CONSOLE_UART
select BOARD_ROMSIZE_KB_16384
select CONSOLE_CBMEM_DUMP_TO_UART if !CONSOLE_SERIAL
@@ -61,6 +46,18 @@ config BOARD_SPECIFIC_OPTIONS
select TPM_GOOGLE_CR50
select AMD_FWM_POSITION_C20000_DEFAULT
+config BOARD_GOOGLE_GUYBRUSH
+ select BOARD_GOOGLE_BASEBOARD_GUYBRUSH
+
+config BOARD_GOOGLE_NIPPERKIN
+ select BOARD_GOOGLE_BASEBOARD_GUYBRUSH
+ select DRIVERS_GFX_GENERIC
+
+config BOARD_GOOGLE_DEWATT
+ select BOARD_GOOGLE_BASEBOARD_GUYBRUSH
+
+if BOARD_GOOGLE_BASEBOARD_GUYBRUSH
+
config VBOOT
select EC_GOOGLE_CHROMEEC_SWITCHES
select VBOOT_LID_SWITCH