From 11b299dd78bc24e8db05c082b121cb27524d5ce1 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Mon, 8 May 2023 20:15:55 +0200 Subject: mb/lenovo/t520: Move selects from Kconfig.name to Kconfig Selects should be done in the Kconfig file instead of Kconfig.name and not mixed over both files. Change-Id: I6b71c7c5c9e32e21c757c0ed0e9c6bd9d58a4f75 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/78131 Reviewed-by: Martin L Roth Tested-by: build bot (Jenkins) --- src/mainboard/lenovo/t520/Kconfig | 6 ++++++ src/mainboard/lenovo/t520/Kconfig.name | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'src/mainboard/lenovo/t520') diff --git a/src/mainboard/lenovo/t520/Kconfig b/src/mainboard/lenovo/t520/Kconfig index a5af0db757..2223b72d61 100644 --- a/src/mainboard/lenovo/t520/Kconfig +++ b/src/mainboard/lenovo/t520/Kconfig @@ -25,6 +25,12 @@ config BOARD_LENOVO_BASEBOARD_T520 # Workaround for EC/KBC IRQ1. select SERIRQ_CONTINUOUS_MODE +config BOARD_LENOVO_T520 + select BOARD_LENOVO_BASEBOARD_T520 + +config BOARD_LENOVO_W520 + select BOARD_LENOVO_BASEBOARD_T520 + if BOARD_LENOVO_BASEBOARD_T520 config VBOOT diff --git a/src/mainboard/lenovo/t520/Kconfig.name b/src/mainboard/lenovo/t520/Kconfig.name index cc622f049a..d77afc836a 100644 --- a/src/mainboard/lenovo/t520/Kconfig.name +++ b/src/mainboard/lenovo/t520/Kconfig.name @@ -1,7 +1,5 @@ config BOARD_LENOVO_T520 bool "ThinkPad T520" - select BOARD_LENOVO_BASEBOARD_T520 config BOARD_LENOVO_W520 bool "ThinkPad W520" - select BOARD_LENOVO_BASEBOARD_T520 -- cgit v1.2.3