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-23 15:11:09 +0200
commit52b95c9dbd2fb8c30bd02e7cf0b17bddfc29aa4c (patch)
tree07d5a6afcb05b9f60105ab0de2b5f311fe819b7f
parentedcda3e04aedba81071ca9277c7fca29995a9a3c (diff)
downloadmeta-enea-bsp-ppc-52b95c9dbd2fb8c30bd02e7cf0b17bddfc29aa4c.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}