summaryrefslogtreecommitdiff
path: root/src/mainboard/google/zork/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/zork/Kconfig')
-rw-r--r--src/mainboard/google/zork/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mainboard/google/zork/Kconfig b/src/mainboard/google/zork/Kconfig
index 68c5ba1a60..3481810d68 100644
--- a/src/mainboard/google/zork/Kconfig
+++ b/src/mainboard/google/zork/Kconfig
@@ -88,9 +88,13 @@ config MAINBOARD_PART_NUMBER
default "Shuboz" if BOARD_GOOGLE_SHUBOZ
default "Gumboz" if BOARD_GOOGLE_GUMBOZ
+config BASEBOARD_DIR
+ string
+ default "trembyle" if BOARD_GOOGLE_BASEBOARD_TREMBYLE
+ default "dalboz" if BOARD_GOOGLE_BASEBOARD_DALBOZ
+
config DEVICETREE
- default "variants/baseboard/devicetree_trembyle.cb" if BOARD_GOOGLE_BASEBOARD_TREMBYLE
- default "variants/baseboard/devicetree_dalboz.cb" if BOARD_GOOGLE_BASEBOARD_DALBOZ
+ default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb"
config OVERRIDE_DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"