diff options
-rw-r--r-- | recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi (renamed from recipes-kernel/linux/files/dra7xx/am572x-pru-uio.dtsi) | 0 | ||||
-rw-r--r-- | recipes-kernel/linux/ti-uio.inc | 11 |
2 files changed, 8 insertions, 3 deletions
diff --git a/recipes-kernel/linux/files/dra7xx/am572x-pru-uio.dtsi b/recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi index f149cf1c..f149cf1c 100644 --- a/recipes-kernel/linux/files/dra7xx/am572x-pru-uio.dtsi +++ b/recipes-kernel/linux/files/dra7xx/am57xx-pru-uio.dtsi | |||
diff --git a/recipes-kernel/linux/ti-uio.inc b/recipes-kernel/linux/ti-uio.inc index 3104f4e9..852c9ab2 100644 --- a/recipes-kernel/linux/ti-uio.inc +++ b/recipes-kernel/linux/ti-uio.inc | |||
@@ -3,7 +3,7 @@ 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_dra7xx = " file://am572x-pru-uio.dtsi \ | 6 | SRC_URI_append_dra7xx = " file://am57xx-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" |
@@ -34,10 +34,15 @@ do_setup_uio_append_dra7xx() { | |||
34 | 34 | ||
35 | if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ] | 35 | if [ "${ENABLE_TI_UIO_DEVICES}" == "1" ] |
36 | then | 36 | then |
37 | dtsi="am57xx-pru-uio.dtsi" | ||
38 | cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/ | ||
39 | |||
37 | dts="am572x-idk-pru-excl-uio.dts" | 40 | dts="am572x-idk-pru-excl-uio.dts" |
38 | dtsi="am572x-pru-uio.dtsi" | ||
39 | cp ${S}/arch/arm/boot/dts/am572x-idk.dts ${S}/arch/arm/boot/dts/$dts | 41 | cp ${S}/arch/arm/boot/dts/am572x-idk.dts ${S}/arch/arm/boot/dts/$dts |
40 | cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/ | 42 | echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts |
43 | |||
44 | dts="am574x-idk-pru-excl-uio.dts" | ||
45 | cp ${S}/arch/arm/boot/dts/am574x-idk.dts ${S}/arch/arm/boot/dts/$dts | ||
41 | echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts | 46 | echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts |
42 | 47 | ||
43 | dts="am571x-idk-pru-excl-uio.dts" | 48 | dts="am571x-idk-pru-excl-uio.dts" |