summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/conf/machine/am57xx-evm.conf
diff options
context:
space:
mode:
authorRyan Eatmon <reatmon@ti.com>2023-03-17 10:20:53 -0500
committerRyan Eatmon <reatmon@ti.com>2023-03-31 09:25:37 -0500
commit4baa0cbd9b2dfa54dba4461926d8d3e6d033c405 (patch)
tree1b5fa7fb9b0559ab4ce9314d38863b3ecef6ca8d /meta-ti-bsp/conf/machine/am57xx-evm.conf
parent2d5d741f9b30639ae3ab1f75a6ae547c007cb3f5 (diff)
downloadmeta-ti-4baa0cbd9b2dfa54dba4461926d8d3e6d033c405.tar.gz
linux-ti-*: Add filtering for which dtb/dtbo to include
We often carry more dtbs/dtbos in our kernel than we have upstreamed. The inclusion of all of the dtb/dtbo in the KERNEL_DEVICETREE has become problematic as we start testing the linux-next and 6.1 as part of our LTS migration. To address this issue we are adding in two step method for managing the KERNEL_DEVICETREE. Going forward we will only accept dtb/dtbo in KERNEL_DEVICETREE if it is available in upstream. This way we ensure that the variable is more accurate for whichever kernel you might be looking at. We have also added a new variable KERNEL_DEVICETREE_PREFIX which our kernel recipes will use to auto set KERNEL_DEVICETREE based on what files are in the kernel and not a fixed list in the conf files. Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf/machine/am57xx-evm.conf')
-rw-r--r--meta-ti-bsp/conf/machine/am57xx-evm.conf22
1 files changed, 12 insertions, 10 deletions
diff --git a/meta-ti-bsp/conf/machine/am57xx-evm.conf b/meta-ti-bsp/conf/machine/am57xx-evm.conf
index b3525a0b..9b12f383 100644
--- a/meta-ti-bsp/conf/machine/am57xx-evm.conf
+++ b/meta-ti-bsp/conf/machine/am57xx-evm.conf
@@ -8,24 +8,26 @@ MACHINE_FEATURES += "touchscreen"
8 8
9SERIAL_CONSOLES = "115200;ttyS2" 9SERIAL_CONSOLES = "115200;ttyS2"
10 10
11KERNEL_DEVICETREE_PREFIX = " \
12 am57 \
13 ti/am57 \
14 ti/lcd \
15 ti/ov10635 \
16"
17
18KERNEL_DEVICETREE_DTBMERGE = " \
19 am57xx-evm.dtb \
20 am57xx-evm-reva3.dtb \
21"
22
11KERNEL_DEVICETREE = " \ 23KERNEL_DEVICETREE = " \
12 am57xx-beagle-x15.dtb \ 24 am57xx-beagle-x15.dtb \
13 am57xx-beagle-x15-revb1.dtb \ 25 am57xx-beagle-x15-revb1.dtb \
14 am57xx-beagle-x15-revc.dtb \ 26 am57xx-beagle-x15-revc.dtb \
15 am5729-beagleboneai.dtb \ 27 am5729-beagleboneai.dtb \
16 ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am57xx-evm.dtb', d)} \
17 ti/am57xx-evm-common.dtbo \
18 ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'am57xx-evm-reva3.dtb', d)} \
19 ti/am57xx-evm-reva3.dtbo \
20 am571x-idk.dtb \ 28 am571x-idk.dtb \
21 ti/am571x-idk-touchscreen.dtbo \
22 am572x-idk.dtb \ 29 am572x-idk.dtb \
23 am574x-idk.dtb \ 30 am574x-idk.dtb \
24 ti/am57xx-idk-osd-lcd-common.dtbo \
25 ti/am572x-idk-touchscreen.dtbo \
26 ti/lcd-osd101t2587.dtbo \
27 ti/lcd-osd101t2045.dtbo \
28 ${@oe.utils.conditional('PREFERRED_PROVIDER_virtual/kernel', 'linux-ti-mainline', '', 'ti/ov10635.dtbo', d)} \
29" 31"
30 32
31KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}" 33KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"