diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2023-07-07 12:05:35 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2023-07-07 12:07:38 +0200 |
commit | c2e4324db3d6a73e54ef383330fbc8db64312fbb (patch) | |
tree | 62fab0263df22c42419abdbf430d4ca337a0f20e | |
parent | 9f4ee899fcbb3ea3039ab8e05bcfbc6c58dec75d (diff) |
machines: arch arm64: use var to set relative path to dtb
Follow the pattern used in meta-toradex nxp commit ce9a5ef
("machines: arch arm: follow change to vendor subdir for dtbs")
Set the variable KERNEL_DTB_PREFIX with the relative path to the device
tree source files and then use it. This variable can then be used
in the creation of the u-boot-distro-boot script.
Related-to: ELB-5263
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | conf/machine/verdin-am62.conf | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/conf/machine/verdin-am62.conf b/conf/machine/verdin-am62.conf index de99b12..7dfe97c 100644 --- a/conf/machine/verdin-am62.conf +++ b/conf/machine/verdin-am62.conf @@ -25,13 +25,14 @@ PREFERRED_PROVIDER_virtual/dtb = "device-tree-overlays-ti" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex-ti-staging" PREFERRED_PROVIDER_u-boot = "u-boot-toradex-ti-staging" +KERNEL_DTB_PREFIX = "ti/" KERNEL_DEVICETREE = " \ - ti/k3-am625-verdin-nonwifi-dahlia.dtb \ - ti/k3-am625-verdin-nonwifi-dev.dtb \ - ti/k3-am625-verdin-nonwifi-yavia.dtb \ - ti/k3-am625-verdin-wifi-dahlia.dtb \ - ti/k3-am625-verdin-wifi-dev.dtb \ - ti/k3-am625-verdin-wifi-yavia.dtb \ + ${KERNEL_DTB_PREFIX}k3-am625-verdin-nonwifi-dahlia.dtb \ + ${KERNEL_DTB_PREFIX}k3-am625-verdin-nonwifi-dev.dtb \ + ${KERNEL_DTB_PREFIX}k3-am625-verdin-nonwifi-yavia.dtb \ + ${KERNEL_DTB_PREFIX}k3-am625-verdin-wifi-dahlia.dtb \ + ${KERNEL_DTB_PREFIX}k3-am625-verdin-wifi-dev.dtb \ + ${KERNEL_DTB_PREFIX}k3-am625-verdin-wifi-yavia.dtb \ " KERNEL_IMAGETYPE = "Image.gz" |