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>
This commit is contained in:
Felix Singer 2023-09-23 21:46:45 +02:00 committed by Felix Held
parent fac2885405
commit 72a7f6cf41
1 changed files with 11 additions and 14 deletions

View File

@ -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