summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Stiffler <j-stiffler@ti.com>2017-10-12 22:19:05 +0000
committerDenys Dmytriyenko <denys@ti.com>2017-10-13 14:44:06 -0400
commitae36a7c870d0c798a60bc89457ef821e0fbedf63 (patch)
tree45c1b9b4e1ca8bce50bf79015447416ed23b21a1
parentd20674a5256a92255cdbdad1c2e30cffdc75e4d1 (diff)
downloadmeta-ti-ae36a7c870d0c798a60bc89457ef821e0fbedf63.tar.gz
linux: ti-uio: remove KERNEL_DEVICETREE appends
* KERNEL_DEVICETREE is now specified in the machine configuration and these appends have already been added there. - This removes the duplcitaion of these device trees in this list and thus resolves the "duplicate node name" failure during the fitImage creation. * Extend am57xx-evm dts injection to dra7xx family - Now that KERNEL_DEVICETREE is specified in the machine configuration, am57xx-hs-evm inherits this list from am57xx-evm. - Extending these injectionsto the entire family allows these device trees to be availble for am57xx-hs-evm as well. - For dra7xx-evm and dra7xx-hs-evm, these device trees will not be built as they are not included in their KERNEL_DEVICETREE list. Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-kernel/linux/ti-uio.inc11
1 files changed, 3 insertions, 8 deletions
diff --git a/recipes-kernel/linux/ti-uio.inc b/recipes-kernel/linux/ti-uio.inc
index 13cf53e2..3104f4e9 100644
--- a/recipes-kernel/linux/ti-uio.inc
+++ b/recipes-kernel/linux/ti-uio.inc
@@ -3,8 +3,8 @@ SRC_URI_append_k2hk = " file://k2hk-uio.dtsi"
3SRC_URI_append_k2l-evm = " file://k2l-uio.dtsi" 3SRC_URI_append_k2l-evm = " file://k2l-uio.dtsi"
4SRC_URI_append_k2e = " file://k2e-uio.dtsi" 4SRC_URI_append_k2e = " file://k2e-uio.dtsi"
5SRC_URI_append_k2g = " file://keystone-k2g-pru-uio.dtsi" 5SRC_URI_append_k2g = " file://keystone-k2g-pru-uio.dtsi"
6SRC_URI_append_am57xx-evm = " file://am572x-pru-uio.dtsi \ 6SRC_URI_append_dra7xx = " file://am572x-pru-uio.dtsi \
7 file://am571x-pru-uio.dtsi \ 7 file://am571x-pru-uio.dtsi \
8" 8"
9SRC_URI_append_ti33x = " file://am335x-pru-uio.dtsi" 9SRC_URI_append_ti33x = " file://am335x-pru-uio.dtsi"
10SRC_URI_append_ti43x = " file://am437x-pru-uio.dtsi" 10SRC_URI_append_ti43x = " file://am437x-pru-uio.dtsi"
@@ -15,11 +15,6 @@ DTSI_LIST_append_k2hk = " k2hk-uio.dtsi"
15DTSI_LIST_append_k2l-evm = " k2l-uio.dtsi" 15DTSI_LIST_append_k2l-evm = " k2l-uio.dtsi"
16DTSI_LIST_append_k2e = " k2e-uio.dtsi" 16DTSI_LIST_append_k2e = " k2e-uio.dtsi"
17 17
18KERNEL_DEVICETREE_append_am57xx-evm = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb", "", d)}"
19KERNEL_DEVICETREE_append_ti33x = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " am335x-icev2-pru-excl-uio.dtb", "", d)}"
20KERNEL_DEVICETREE_append_ti43x = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " am437x-idk-pru-excl-uio.dtb", "", d)}"
21KERNEL_DEVICETREE_append_k2g = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " keystone-k2g-ice-pru-excl-uio.dtb", "", d)}"
22
23do_setup_uio() { 18do_setup_uio() {
24 if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ] 19 if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
25 then 20 then
@@ -35,7 +30,7 @@ do_setup_uio() {
35 fi 30 fi
36} 31}
37 32
38do_setup_uio_append_am57xx-evm() { 33do_setup_uio_append_dra7xx() {
39 34
40 if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ] 35 if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
41 then 36 then