summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2018-11-06 22:09:18 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-11-16 09:45:43 +0000
commit395cbb4f9702df56493f4684a3b51e8c28d08199 (patch)
treef3b78ca6f4f0297b712670f80012ac63da08852a /src/mainboard/asrock
parentfd7fe58e609c5e14a92467aac725ed3dbc94adae (diff)
downloadcoreboot-395cbb4f9702df56493f4684a3b51e8c28d08199.tar.xz
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/asrock')
-rw-r--r--src/mainboard/asrock/g41c-gs/Kconfig6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mainboard/asrock/g41c-gs/Kconfig b/src/mainboard/asrock/g41c-gs/Kconfig
index c0a63be10f..e7cbf7aeb1 100644
--- a/src/mainboard/asrock/g41c-gs/Kconfig
+++ b/src/mainboard/asrock/g41c-gs/Kconfig
@@ -62,11 +62,7 @@ config MAINBOARD_PART_NUMBER
config DEVICETREE
string
- default "variants/g41c-gs-r2/devicetree.cb" if BOARD_ASROCK_G41C_GS_R2_0
- default "variants/g41c-gs/devicetree.cb" if BOARD_ASROCK_G41C_GS
- default "variants/g41m-gs/devicetree.cb" if BOARD_ASROCK_G41M_GS
- default "variants/g41m-s3/devicetree.cb" if BOARD_ASROCK_G41M_S3
- default "variants/g41m-vs3-r2/devicetree.cb" if BOARD_ASROCK_G41M_VS3_R2_0
+ default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
config MAX_CPUS
int