summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t530/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo/t530/Kconfig')
-rw-r--r--src/mainboard/lenovo/t530/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/t530/Kconfig b/src/mainboard/lenovo/t530/Kconfig
index d107504b61..61752d86bb 100644
--- a/src/mainboard/lenovo/t530/Kconfig
+++ b/src/mainboard/lenovo/t530/Kconfig
@@ -39,8 +39,7 @@ config MAINBOARD_DIR
config DEVICETREE
string
- default "variants/t530/devicetree.cb" if BOARD_LENOVO_T530
- default "variants/w530/devicetree.cb" if BOARD_LENOVO_W530
+ default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
config MAINBOARD_PART_NUMBER
string