summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-05-29 00:17:24 +0200
committerFelix Singer <felixsinger@posteo.net>2022-05-30 07:35:32 +0000
commit175c0df24452a69e06195ab1e0ca0c6cb232d17f (patch)
tree92e5ec079ad5ae0ef0e07972423e93f36bd0b60f
parent54516673a4554b97a1ac819ba3afcb28e47c11ce (diff)
mb/lenovo/t530: Move selects from Kconfig.name to Kconfig
Move selects from Kconfig.name to Kconfig so that the configuration is at one place and not distributed over two files. Change-Id: I8ef0e67a8f26b98acea777afb26ed221bfa90153 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64755 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@tutanota.com>
-rw-r--r--src/mainboard/lenovo/t530/Kconfig6
-rw-r--r--src/mainboard/lenovo/t530/Kconfig.name2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/t530/Kconfig b/src/mainboard/lenovo/t530/Kconfig
index 7420617690..ed3df0c623 100644
--- a/src/mainboard/lenovo/t530/Kconfig
+++ b/src/mainboard/lenovo/t530/Kconfig
@@ -26,6 +26,12 @@ config BOARD_LENOVO_BASEBOARD_T530
# Workaround for EC/KBC IRQ1.
select SERIRQ_CONTINUOUS_MODE
+config BOARD_LENOVO_T530
+ select BOARD_LENOVO_BASEBOARD_T530
+
+config BOARD_LENOVO_W530
+ select BOARD_LENOVO_BASEBOARD_T530
+
if BOARD_LENOVO_BASEBOARD_T530
config VBOOT
diff --git a/src/mainboard/lenovo/t530/Kconfig.name b/src/mainboard/lenovo/t530/Kconfig.name
index 446a22523e..c86915b901 100644
--- a/src/mainboard/lenovo/t530/Kconfig.name
+++ b/src/mainboard/lenovo/t530/Kconfig.name
@@ -1,7 +1,5 @@
config BOARD_LENOVO_T530
bool "ThinkPad T530"
- select BOARD_LENOVO_BASEBOARD_T530
config BOARD_LENOVO_W530
bool "ThinkPad W530"
- select BOARD_LENOVO_BASEBOARD_T530