summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2016-05-12 12:57:13 +0200
committerMartin Borg <martin.borg@enea.com>2016-05-12 16:50:24 +0200
commit97eb99143717ed8ca29f52e128c69e2bbfb8548a (patch)
treedf73356594b258816fbf4ebf94c64b5370eff8af
parentada8d1aaf15b3a293c434542e3581754fea3d9f1 (diff)
downloadmeta-enea-bsp-ppc-97eb99143717ed8ca29f52e128c69e2bbfb8548a.tar.gz
Fman config for Enea specific device tree
For Enea specific device tree where only the FM1@GETH5 is allocated to Linux stack while all other ethernet ports are allocated to USDPAA it is required to have a specific config file. Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Martin Borg <martin.borg@enea.com>
-rw-r--r--recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bbappend7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bbappend b/recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bbappend
new file mode 100644
index 0000000..128bb41
--- /dev/null
+++ b/recipes-dpaa/usdpaa-apps/usdpaa-apps_git.bbappend
@@ -0,0 +1,7 @@
1# Remove RGMII port since it is allocated to Linux stack when boot with -usdpaa-enea- device tree
2# Removed port must always match with the one removed from -usdpaa-enea-
3
4do_configure_prepend() {
5 sed '/type=\"MAC\" number=\"5\"/d' ${S}/src/ppac/usdpaa_config_p2_p3_p5_14g.xml > ${S}/src/ppac/usdpaa_config_enea_p2_p3_p5_14g.xml
6 sed '/usdpaa_config_p2_p3_p5_14g\.xml/a\ usdpaa_config_enea_p2_p3_p5_14g.xml \\' ${S}/src/ppac/Makefile.am > ${S}/src/ppac/Makefile.am.bak && mv ${S}/src/ppac/Makefile.am.bak ${S}/src/ppac/Makefile.am
7}