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>
diff --git a/src/mainboard/google/oak/Kconfig b/src/mainboard/google/oak/Kconfig
index 7db0d44..900b04b 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 @@
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