summaryrefslogtreecommitdiff
path: root/board/freescale/p1023rdb
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@oss.nxp.com>2020-04-30 15:59:58 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2020-06-03 12:14:28 +0530
commit564637a3605b02eacfd6421c717742be19eb4015 (patch)
treece8104ebed16c7ea0f89190a8674f950015f48dc /board/freescale/p1023rdb
parent3374264df97b23d6023be27f1301421be2e42c13 (diff)
board/freescale: add the DM_ETH changes for the PPC DPAA platforms
Add the required changes for compiling with DM_ETH on the PPC DPAA platforms. Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board/freescale/p1023rdb')
-rw-r--r--board/freescale/p1023rdb/p1023rdb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/freescale/p1023rdb/p1023rdb.c b/board/freescale/p1023rdb/p1023rdb.c
index 13df3e8637..4380ece098 100644
--- a/board/freescale/p1023rdb/p1023rdb.c
+++ b/board/freescale/p1023rdb/p1023rdb.c
@@ -150,8 +150,11 @@ int ft_board_setup(void *blob, bd_t *bd)
fsl_fdt_fixup_dr_usb(blob, bd);
#endif
+#ifdef CONFIG_SYS_DPAA_FMAN
+#ifndef CONFIG_DM_ETH
fdt_fixup_fman_ethernet(blob);
-
+#endif
+#endif
return 0;
}
#endif