diff options
author | Peter Lemenkov <lemenkov@gmail.com> | 2018-11-06 22:09:18 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-11-16 09:45:43 +0000 |
commit | 395cbb4f9702df56493f4684a3b51e8c28d08199 (patch) | |
tree | f3b78ca6f4f0297b712670f80012ac63da08852a /src/mainboard/siemens | |
parent | fd7fe58e609c5e14a92467aac725ed3dbc94adae (diff) |
mb/*/*/Kconfig: Use CONFIG_VARIANT_DIR for devicetree
Change-Id: Ic9620cfa1630c7c085b6c244ca80dc023a181e30
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Reviewed-on: https://review.coreboot.org/29595
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/mainboard/siemens')
5 files changed, 4 insertions, 16 deletions
diff --git a/src/mainboard/siemens/mc_apl1/Kconfig b/src/mainboard/siemens/mc_apl1/Kconfig index eeb5d9b547..19bd75a59c 100644 --- a/src/mainboard/siemens/mc_apl1/Kconfig +++ b/src/mainboard/siemens/mc_apl1/Kconfig @@ -21,6 +21,10 @@ config VARIANT_DIR default "mc_apl3" if BOARD_SIEMENS_MC_APL3 default "mc_apl4" if BOARD_SIEMENS_MC_APL4 +config DEVICETREE + string + default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" + config MAINBOARD_PART_NUMBER string default "MC APL1" if BOARD_SIEMENS_MC_APL1 diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Kconfig b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Kconfig index 1ed260945b..14b4aa9dc6 100644 --- a/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Kconfig +++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl1/Kconfig @@ -9,8 +9,4 @@ config BOARD_SIEMENS_MC_APL1_VAR select NC_FPGA_NOTIFY_CB_READY select APL_SKIP_SET_POWER_LIMITS -config DEVICETREE - string - default "variants/mc_apl1/devicetree.cb" - endif # BOARD_SIEMENS_MC_APL1 diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl2/Kconfig b/src/mainboard/siemens/mc_apl1/variants/mc_apl2/Kconfig index aa90041793..4fc473d65b 100644 --- a/src/mainboard/siemens/mc_apl1/variants/mc_apl2/Kconfig +++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl2/Kconfig @@ -7,8 +7,4 @@ config BOARD_SIEMENS_MC_APL2_VAR select DRIVERS_I2C_RX6110SA select DRIVER_SIEMENS_NC_FPGA -config DEVICETREE - string - default "variants/mc_apl2/devicetree.cb" - endif # BOARD_SIEMENS_MC_APL2 diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl3/Kconfig b/src/mainboard/siemens/mc_apl1/variants/mc_apl3/Kconfig index 3c5a9fabfc..f329428ee8 100644 --- a/src/mainboard/siemens/mc_apl1/variants/mc_apl3/Kconfig +++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl3/Kconfig @@ -9,8 +9,4 @@ config BOARD_SIEMENS_MC_APL3_VAR select NC_FPGA_NOTIFY_CB_READY select APL_SKIP_SET_POWER_LIMITS -config DEVICETREE - string - default "variants/mc_apl3/devicetree.cb" - endif # BOARD_SIEMENS_MC_APL3 diff --git a/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Kconfig b/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Kconfig index ea81c6ce13..0a82f080a6 100644 --- a/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Kconfig +++ b/src/mainboard/siemens/mc_apl1/variants/mc_apl4/Kconfig @@ -5,8 +5,4 @@ config BOARD_SIEMENS_MC_APL4_VAR def_bool y select DRIVER_INTEL_I210 -config DEVICETREE - string - default "variants/mc_apl4/devicetree.cb" - endif # BOARD_SIEMENS_MC_APL4 |