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/rambi/Kconfig | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'src/mainboard/google/rambi/Kconfig') diff --git a/src/mainboard/google/rambi/Kconfig b/src/mainboard/google/rambi/Kconfig index 725d69dfe2..6d0c0dfce0 100644 --- a/src/mainboard/google/rambi/Kconfig +++ b/src/mainboard/google/rambi/Kconfig @@ -84,22 +84,7 @@ config GBB_HWID config DEVICETREE string - default "variants/banjo/devicetree.cb" if BOARD_GOOGLE_BANJO - default "variants/candy/devicetree.cb" if BOARD_GOOGLE_CANDY - default "variants/clapper/devicetree.cb" if BOARD_GOOGLE_CLAPPER - default "variants/enguarde/devicetree.cb" if BOARD_GOOGLE_ENGUARDE - default "variants/glimmer/devicetree.cb" if BOARD_GOOGLE_GLIMMER - default "variants/gnawty/devicetree.cb" if BOARD_GOOGLE_GNAWTY - default "variants/heli/devicetree.cb" if BOARD_GOOGLE_HELI - default "variants/kip/devicetree.cb" if BOARD_GOOGLE_KIP - default "variants/ninja/devicetree.cb" if BOARD_GOOGLE_NINJA - default "variants/orco/devicetree.cb" if BOARD_GOOGLE_ORCO - default "variants/quawks/devicetree.cb" if BOARD_GOOGLE_QUAWKS - default "variants/rambi/devicetree.cb" if BOARD_GOOGLE_RAMBI - default "variants/squawks/devicetree.cb" if BOARD_GOOGLE_SQUAWKS - default "variants/sumo/devicetree.cb" if BOARD_GOOGLE_SUMO - default "variants/swanky/devicetree.cb" if BOARD_GOOGLE_SWANKY - default "variants/winky/devicetree.cb" if BOARD_GOOGLE_WINKY + default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" config EC_GOOGLE_CHROMEEC_BOARDNAME string -- cgit v1.2.3