1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 19:53:43 +00:00

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>
This commit is contained in:
Jacob Stiffler
2017-10-12 22:19:05 +00:00
committed by Denys Dmytriyenko
parent d20674a525
commit ae36a7c870

View File

@@ -3,8 +3,8 @@ SRC_URI_append_k2hk = " file://k2hk-uio.dtsi"
SRC_URI_append_k2l-evm = " file://k2l-uio.dtsi"
SRC_URI_append_k2e = " file://k2e-uio.dtsi"
SRC_URI_append_k2g = " file://keystone-k2g-pru-uio.dtsi"
SRC_URI_append_am57xx-evm = " file://am572x-pru-uio.dtsi \
file://am571x-pru-uio.dtsi \
SRC_URI_append_dra7xx = " file://am572x-pru-uio.dtsi \
file://am571x-pru-uio.dtsi \
"
SRC_URI_append_ti33x = " file://am335x-pru-uio.dtsi"
SRC_URI_append_ti43x = " file://am437x-pru-uio.dtsi"
@@ -15,11 +15,6 @@ DTSI_LIST_append_k2hk = " k2hk-uio.dtsi"
DTSI_LIST_append_k2l-evm = " k2l-uio.dtsi"
DTSI_LIST_append_k2e = " k2e-uio.dtsi"
KERNEL_DEVICETREE_append_am57xx-evm = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb", "", d)}"
KERNEL_DEVICETREE_append_ti33x = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " am335x-icev2-pru-excl-uio.dtb", "", d)}"
KERNEL_DEVICETREE_append_ti43x = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " am437x-idk-pru-excl-uio.dtb", "", d)}"
KERNEL_DEVICETREE_append_k2g = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " keystone-k2g-ice-pru-excl-uio.dtb", "", d)}"
do_setup_uio() {
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
then
@@ -35,7 +30,7 @@ do_setup_uio() {
fi
}
do_setup_uio_append_am57xx-evm() {
do_setup_uio_append_dra7xx() {
if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ]
then