diff options
author | Felix Singer <felixsinger@posteo.net> | 2023-05-08 20:15:55 +0200 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2023-10-03 17:13:15 +0000 |
commit | 11b299dd78bc24e8db05c082b121cb27524d5ce1 (patch) | |
tree | 2bfb218b76e459193773b9a2e4134be1484aeb38 /src/mainboard/lenovo | |
parent | b642b9081e93bd66f88bffa255d539dae9a408bf (diff) |
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 <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78131
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r-- | src/mainboard/lenovo/t520/Kconfig | 6 | ||||
-rw-r--r-- | src/mainboard/lenovo/t520/Kconfig.name | 2 |
2 files changed, 6 insertions, 2 deletions
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 |