summaryrefslogtreecommitdiff
path: root/src/mainboard/google/zork/Kconfig
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2022-12-20 00:24:46 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-06-16 17:55:25 +0000
commit40f0dafd141d7f97c7295c892f10a10967c775aa (patch)
treeb3a209b38356134a614bca72b1ff51350286b5b5 /src/mainboard/google/zork/Kconfig
parentaef7007b0c519b48cebbb88cfc1af109031d10f4 (diff)
google/zork: Convert baseboard directory layout
There are two baseboards within the set of mainboards built here, with baseboard name appended in the filenames. Take the style and variable BASEBOARD_DIR from google/brya, then move and rename the supporting files under separate directories. Change-Id: I2046b6f82519540b8596ce925203bd60d1870c1c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74471 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
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"