summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2023-09-23 21:46:45 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-09-25 16:39:28 +0000
commit72a7f6cf41e1846ccb19ad7610be235a750b33bd (patch)
treec6f075b083e3be8fc0548539ab0305d648146444
parentfac28854054d96e2e7840a4a294fbbbaf622c0a3 (diff)
mb/google/oak: Move common selects to BOARD_GOOGLE_OAK_COMMON
BOARD_SPECIFIC_OPTIONS is duplicate to BOARD_GOOGLE_OAK_COMMON. Thus, move all selects to the latter option. Change-Id: Id80b8a9bcad9337c8aa76fa6e5d2c9752b8021b7 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78101 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
-rw-r--r--src/mainboard/google/oak/Kconfig25
1 files changed, 11 insertions, 14 deletions
diff --git a/src/mainboard/google/oak/Kconfig b/src/mainboard/google/oak/Kconfig
index 7db0d44e13..900b04b719 100644
--- a/src/mainboard/google/oak/Kconfig
+++ b/src/mainboard/google/oak/Kconfig
@@ -2,20 +2,6 @@
config BOARD_GOOGLE_OAK_COMMON
def_bool n
-
-config BOARD_GOOGLE_OAK
- select BOARD_GOOGLE_OAK_COMMON
-
-config BOARD_GOOGLE_ELM
- select BOARD_GOOGLE_OAK_COMMON
-
-config BOARD_GOOGLE_HANA
- select BOARD_GOOGLE_OAK_COMMON
-
-if BOARD_GOOGLE_OAK_COMMON
-
-config BOARD_SPECIFIC_OPTIONS
- def_bool y
select SOC_MEDIATEK_MT8173
select BOARD_ROMSIZE_KB_4096
select COMMON_CBFS_SPI_WRAPPER
@@ -30,6 +16,17 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_CHROMEOS
select SPI_FLASH
+config BOARD_GOOGLE_OAK
+ select BOARD_GOOGLE_OAK_COMMON
+
+config BOARD_GOOGLE_ELM
+ select BOARD_GOOGLE_OAK_COMMON
+
+config BOARD_GOOGLE_HANA
+ select BOARD_GOOGLE_OAK_COMMON
+
+if BOARD_GOOGLE_OAK_COMMON
+
config VBOOT
select EC_GOOGLE_CHROMEEC_SWITCHES
select VBOOT_VBNV_FLASH