diff options
author | Hongmei Gou <a0271529@ti.com> | 2017-11-30 04:42:02 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2017-12-05 19:36:47 -0500 |
commit | 2e1000b579e3f1ed34233b8fcf36320467ea69a5 (patch) | |
tree | 438810ab91e3757b6d3148c0491cd90a3e2e4aae /recipes-kernel | |
parent | 9d21efe13611981dbd35398c4aefb3bf1c3d4ac1 (diff) | |
download | meta-ti-2e1000b579e3f1ed34233b8fcf36320467ea69a5.tar.gz |
linux: ti-uio: include pru-uio device tree file for am574x
Signed-off-by: Hongmei Gou <a0271529@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel')
-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" |