From 72a7f6cf41e1846ccb19ad7610be235a750b33bd Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sat, 23 Sep 2023 21:46:45 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/78101 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/mainboard/google/oak/Kconfig | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'src/mainboard') 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 -- cgit v1.2.3