summaryrefslogtreecommitdiff
path: root/conf/machine
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-07-07 11:41:26 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2023-07-07 11:54:06 +0200
commit6ceb22f7210c9e02ec4bb0ba10085c011527a394 (patch)
tree27ad6462f2736a013e58178debe65e7612c797ca /conf/machine
parentce9a5efee59836d31403a727ca70d6a081663031 (diff)
machines: arch arm64: use var to set relative path to dtb
Follow the pattern used in 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>
Diffstat (limited to 'conf/machine')
-rw-r--r--conf/machine/apalis-imx8.conf17
-rw-r--r--conf/machine/colibri-imx8x.conf19
-rw-r--r--conf/machine/verdin-imx8mm.conf13
-rw-r--r--conf/machine/verdin-imx8mp.conf13
4 files changed, 33 insertions, 29 deletions
diff --git a/conf/machine/apalis-imx8.conf b/conf/machine/apalis-imx8.conf
index f3dcbd6..4d494ea 100644
--- a/conf/machine/apalis-imx8.conf
+++ b/conf/machine/apalis-imx8.conf
@@ -25,15 +25,16 @@ LOADADDR = ""
# auto-serial-console there
USE_VT = "0"
+KERNEL_DTB_PREFIX = "freescale/"
KERNEL_DEVICETREE = " \
- freescale/imx8qm-apalis-eval.dtb \
- freescale/imx8qm-apalis-ixora-v1.1.dtb \
- freescale/imx8qm-apalis-v1.1-eval.dtb \
- freescale/imx8qm-apalis-v1.1-ixora-v1.1.dtb \
- freescale/imx8qm-apalis-v1.1-ixora-v1.2.dtb \
- freescale/imx8qp-apalis-v1.1-eval.dtb \
- freescale/imx8qp-apalis-v1.1-ixora-v1.1.dtb \
- freescale/imx8qp-apalis-v1.1-ixora-v1.2.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qm-apalis-eval.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qm-apalis-ixora-v1.1.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qm-apalis-v1.1-eval.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qm-apalis-v1.1-ixora-v1.1.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qm-apalis-v1.1-ixora-v1.2.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qp-apalis-v1.1-eval.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qp-apalis-v1.1-ixora-v1.1.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qp-apalis-v1.1-ixora-v1.2.dtb \
"
KERNEL_IMAGETYPE:aarch64 = "Image.gz"
diff --git a/conf/machine/colibri-imx8x.conf b/conf/machine/colibri-imx8x.conf
index 4801a3c..01e0b78 100644
--- a/conf/machine/colibri-imx8x.conf
+++ b/conf/machine/colibri-imx8x.conf
@@ -23,17 +23,18 @@ LOADADDR = ""
# auto-serial-console there
USE_VT = "0"
+KERNEL_DTB_PREFIX = "freescale/"
KERNEL_DEVICETREE = " \
- freescale/imx8dx-colibri-aster.dtb \
- freescale/imx8dx-colibri-eval-v3.dtb \
- freescale/imx8dx-colibri-iris.dtb \
- freescale/imx8dx-colibri-iris-v2.dtb \
- freescale/imx8qxp-colibri-aster.dtb \
- freescale/imx8qxp-colibri-eval-v3.dtb \
- freescale/imx8qxp-colibri-iris.dtb \
- freescale/imx8qxp-colibri-iris-v2.dtb \
+ ${KERNEL_DTB_PREFIX}imx8dx-colibri-aster.dtb \
+ ${KERNEL_DTB_PREFIX}imx8dx-colibri-eval-v3.dtb \
+ ${KERNEL_DTB_PREFIX}imx8dx-colibri-iris.dtb \
+ ${KERNEL_DTB_PREFIX}imx8dx-colibri-iris-v2.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qxp-colibri-aster.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qxp-colibri-eval-v3.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qxp-colibri-iris.dtb \
+ ${KERNEL_DTB_PREFIX}imx8qxp-colibri-iris-v2.dtb \
"
-KERNEL_DEVICETREE:use-mainline-bsp = "freescale/imx8qxp-colibri-eval-v3.dtb"
+KERNEL_DEVICETREE:use-mainline-bsp = "${KERNEL_DTB_PREFIX}imx8qxp-colibri-eval-v3.dtb"
KERNEL_IMAGETYPE:aarch64 = "Image.gz"
diff --git a/conf/machine/verdin-imx8mm.conf b/conf/machine/verdin-imx8mm.conf
index 9f4c4e0..48c78f6 100644
--- a/conf/machine/verdin-imx8mm.conf
+++ b/conf/machine/verdin-imx8mm.conf
@@ -19,13 +19,14 @@ require conf/machine/include/arm/armv8a/tune-cortexa53.inc
# Don't include kernels in standard images
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
+KERNEL_DTB_PREFIX = "freescale/"
KERNEL_DEVICETREE = " \
- freescale/imx8mm-verdin-nonwifi-dahlia.dtb \
- freescale/imx8mm-verdin-nonwifi-dev.dtb \
- freescale/imx8mm-verdin-nonwifi-yavia.dtb \
- freescale/imx8mm-verdin-wifi-dahlia.dtb \
- freescale/imx8mm-verdin-wifi-dev.dtb \
- freescale/imx8mm-verdin-wifi-yavia.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mm-verdin-nonwifi-dahlia.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mm-verdin-nonwifi-dev.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mm-verdin-nonwifi-yavia.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mm-verdin-wifi-dahlia.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mm-verdin-wifi-dev.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mm-verdin-wifi-yavia.dtb \
"
KERNEL_IMAGETYPE:aarch64 = "Image.gz"
diff --git a/conf/machine/verdin-imx8mp.conf b/conf/machine/verdin-imx8mp.conf
index afd4dfd..25e09f6 100644
--- a/conf/machine/verdin-imx8mp.conf
+++ b/conf/machine/verdin-imx8mp.conf
@@ -19,13 +19,14 @@ require conf/machine/include/arm/armv8a/tune-cortexa53.inc
# Don't include kernels in standard images
RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = ""
+KERNEL_DTB_PREFIX = "freescale/"
KERNEL_DEVICETREE = " \
- freescale/imx8mp-verdin-nonwifi-dahlia.dtb \
- freescale/imx8mp-verdin-nonwifi-dev.dtb \
- freescale/imx8mp-verdin-nonwifi-yavia.dtb \
- freescale/imx8mp-verdin-wifi-dahlia.dtb \
- freescale/imx8mp-verdin-wifi-dev.dtb \
- freescale/imx8mp-verdin-wifi-yavia.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mp-verdin-nonwifi-dahlia.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mp-verdin-nonwifi-dev.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mp-verdin-nonwifi-yavia.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mp-verdin-wifi-dahlia.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mp-verdin-wifi-dev.dtb \
+ ${KERNEL_DTB_PREFIX}imx8mp-verdin-wifi-yavia.dtb \
"
KERNEL_IMAGETYPE:aarch64 = "Image.gz"