diff options
| author | Jacob Stiffler <j-stiffler@ti.com> | 2017-10-12 22:19:05 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2017-10-12 21:16:41 -0400 |
| commit | 9e788a0a591d9959898f4d5e4ccd745c29c09ee6 (patch) | |
| tree | 7aad55085f3cb00ec624607222ef2245d693cf04 /recipes-kernel | |
| parent | de660bbeff13f8561b2fdb656bce8099775d4f69 (diff) | |
| download | meta-ti-9e788a0a591d9959898f4d5e4ccd745c29c09ee6.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>
Diffstat (limited to 'recipes-kernel')
| -rw-r--r-- | recipes-kernel/linux/ti-uio.inc | 11 |
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" | |||
| 3 | SRC_URI_append_k2l-evm = " file://k2l-uio.dtsi" | 3 | SRC_URI_append_k2l-evm = " file://k2l-uio.dtsi" |
| 4 | SRC_URI_append_k2e = " file://k2e-uio.dtsi" | 4 | SRC_URI_append_k2e = " file://k2e-uio.dtsi" |
| 5 | SRC_URI_append_k2g = " file://keystone-k2g-pru-uio.dtsi" | 5 | SRC_URI_append_k2g = " file://keystone-k2g-pru-uio.dtsi" |
| 6 | SRC_URI_append_am57xx-evm = " file://am572x-pru-uio.dtsi \ | 6 | SRC_URI_append_dra7xx = " file://am572x-pru-uio.dtsi \ |
| 7 | file://am571x-pru-uio.dtsi \ | 7 | file://am571x-pru-uio.dtsi \ |
| 8 | " | 8 | " |
| 9 | SRC_URI_append_ti33x = " file://am335x-pru-uio.dtsi" | 9 | SRC_URI_append_ti33x = " file://am335x-pru-uio.dtsi" |
| 10 | SRC_URI_append_ti43x = " file://am437x-pru-uio.dtsi" | 10 | SRC_URI_append_ti43x = " file://am437x-pru-uio.dtsi" |
| @@ -15,11 +15,6 @@ DTSI_LIST_append_k2hk = " k2hk-uio.dtsi" | |||
| 15 | DTSI_LIST_append_k2l-evm = " k2l-uio.dtsi" | 15 | DTSI_LIST_append_k2l-evm = " k2l-uio.dtsi" |
| 16 | DTSI_LIST_append_k2e = " k2e-uio.dtsi" | 16 | DTSI_LIST_append_k2e = " k2e-uio.dtsi" |
| 17 | 17 | ||
| 18 | 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)}" | ||
| 19 | KERNEL_DEVICETREE_append_ti33x = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " am335x-icev2-pru-excl-uio.dtb", "", d)}" | ||
| 20 | KERNEL_DEVICETREE_append_ti43x = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " am437x-idk-pru-excl-uio.dtb", "", d)}" | ||
| 21 | KERNEL_DEVICETREE_append_k2g = "${@base_conditional("ENABLE_TI_UIO_DEVICES", "1", " keystone-k2g-ice-pru-excl-uio.dtb", "", d)}" | ||
| 22 | |||
| 23 | do_setup_uio() { | 18 | do_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 | ||
| 38 | do_setup_uio_append_am57xx-evm() { | 33 | do_setup_uio_append_dra7xx() { |
| 39 | 34 | ||
| 40 | if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ] | 35 | if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ] |
| 41 | then | 36 | then |
