summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-qoriq-common.inc
diff options
context:
space:
mode:
authorMihaela Martinas <Mihaela.Martinas@enea.com>2015-12-10 10:00:44 +0100
committerHuimin She <huimin.she@enea.com>2015-12-10 14:59:33 +0100
commit3a647aceb5e0eab6185dd02d684fd1d05f2a1909 (patch)
treecdf695e9470afd045ea8f7bacb7d82634071d4fc /recipes-kernel/linux/linux-qoriq-common.inc
parentc870e67a87ac4d8fe7ee2e4a458503058b397795 (diff)
downloadmeta-enea-bsp-ppc-3a647aceb5e0eab6185dd02d684fd1d05f2a1909.tar.gz
kernel: Add device tree for p2041rdb for USDPAA
A new device tree for USDPAA support has been added for p2041rdb platform. This was necessary to allow the usage of an ethernet interface as a normal one, that interfaces with the Linux kernel network stack. In the beginning all the interfaces were allocated to USDPAA, so they were not visible to the Linux kernel. For the development process this would mean the impossibility to boot using a nfs or to connect via ssh. Signed-off-by: Mihaela Martinas <Mihaela.Martinas@enea.com> Signed-off-by: Huimin She <huimin.she@enea.com>
Diffstat (limited to 'recipes-kernel/linux/linux-qoriq-common.inc')
-rw-r--r--recipes-kernel/linux/linux-qoriq-common.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-qoriq-common.inc b/recipes-kernel/linux/linux-qoriq-common.inc
index d2fecca..f9eb6d0 100644
--- a/recipes-kernel/linux/linux-qoriq-common.inc
+++ b/recipes-kernel/linux/linux-qoriq-common.inc
@@ -8,6 +8,7 @@ SRC_URI += "file://b4860-hard_irq_disable-bug.patch \
8 " 8 "
9 9
10SRC_URI_append_t4240rdb-64b = " file://dts/t4240rdb-usdpaa-enea.dts" 10SRC_URI_append_t4240rdb-64b = " file://dts/t4240rdb-usdpaa-enea.dts"
11SRC_URI_append_p2041rdb = " file://dts/p2041rdb-usdpaa-enea.dts"
11 12
12ENEA_KERNEL_FRAGMENTS += "\ 13ENEA_KERNEL_FRAGMENTS += "\
13 cfg/00013-localversion.cfg \ 14 cfg/00013-localversion.cfg \
@@ -40,6 +41,7 @@ DELTA_KERNEL_DEFCONFIG += " ${ENEA_KERNEL_FRAGMENTS} \
40 " 41 "
41 42
42KERNEL_DEVICETREE_append_t4240rdb-64b = " t4240rdb-usdpaa-enea.dtb" 43KERNEL_DEVICETREE_append_t4240rdb-64b = " t4240rdb-usdpaa-enea.dtb"
44KERNEL_DEVICETREE_append_p2041rdb = " p2041rdb-usdpaa-enea.dtb"
43 45
44require recipes-kernel/linux/pramfs-3.12.inc 46require recipes-kernel/linux/pramfs-3.12.inc
45 47
@@ -61,3 +63,7 @@ do_unpack_append() {
61do_configure_prepend_t4240rdb-64b() { 63do_configure_prepend_t4240rdb-64b() {
62 cp ${WORKDIR}/dts/t4240rdb-usdpaa-enea.dts ${S}/arch/powerpc/boot/dts/ 64 cp ${WORKDIR}/dts/t4240rdb-usdpaa-enea.dts ${S}/arch/powerpc/boot/dts/
63} 65}
66
67do_configure_prepend_p2041rdb() {
68 cp ${WORKDIR}/dts/p2041rdb-usdpaa-enea.dts ${S}/arch/powerpc/boot/dts/
69}