diff options
author | Adrian Calianu <adrian.calianu@enea.com> | 2016-05-12 12:57:13 +0200 |
---|---|---|
committer | Martin Borg <martin.borg@enea.com> | 2016-05-12 16:50:24 +0200 |
commit | 97eb99143717ed8ca29f52e128c69e2bbfb8548a (patch) | |
tree | df73356594b258816fbf4ebf94c64b5370eff8af | |
parent | ada8d1aaf15b3a293c434542e3581754fea3d9f1 (diff) | |
download | meta-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.bbappend | 7 |
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 | |||
4 | do_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 | } | ||