From 395cbb4f9702df56493f4684a3b51e8c28d08199 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 6 Nov 2018 22:09:18 +0100 Subject: mb/*/*/Kconfig: Use CONFIG_VARIANT_DIR for devicetree Change-Id: Ic9620cfa1630c7c085b6c244ca80dc023a181e30 Signed-off-by: Peter Lemenkov Reviewed-on: https://review.coreboot.org/29595 Tested-by: build bot (Jenkins) Reviewed-by: Elyes HAOUAS Reviewed-by: Werner Zeh --- src/mainboard/google/sarien/Kconfig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/mainboard/google/sarien') diff --git a/src/mainboard/google/sarien/Kconfig b/src/mainboard/google/sarien/Kconfig index 7494edd4a1..bd674769c9 100644 --- a/src/mainboard/google/sarien/Kconfig +++ b/src/mainboard/google/sarien/Kconfig @@ -31,11 +31,6 @@ config CHROMEOS select GBB_FLAG_FORCE_DEV_BOOT_LEGACY select GBB_FLAG_FORCE_MANUAL_RECOVERY -config DEVICETREE - string - default "variants/arcada/devicetree.cb" if BOARD_GOOGLE_ARCADA - default "variants/sarien/devicetree.cb" if BOARD_GOOGLE_SARIEN - config DIMM_MAX int default 2 @@ -89,6 +84,10 @@ config VARIANT_DIR default "arcada" if BOARD_GOOGLE_ARCADA default "sarien" if BOARD_GOOGLE_SARIEN +config DEVICETREE + string + default "variants/${CONFIG_VARIANT_DIR}/devicetree.cb" + config VBOOT select HAS_RECOVERY_MRC_CACHE select MRC_CLEAR_NORMAL_CACHE_ON_RECOVERY_RETRAIN -- cgit v1.2.3