diff options
author | Madalin Bucur <madalin.bucur@oss.nxp.com> | 2020-04-23 16:25:19 +0300 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-04-29 11:10:54 +0530 |
commit | 6eb32a03e0da4b6bdd09d114738c5f2bfe011459 (patch) | |
tree | feac69e18c277303ae08331be9beca8ca4cc8812 /board/freescale/ls1046ardb | |
parent | 20e0f629527f9cef0c2afb473f7978dc393f80ea (diff) | |
download | u-boot-6eb32a03e0da4b6bdd09d114738c5f2bfe011459.tar.gz |
driver: net: fm: add DM ETH support
Probe the FMan MACs based on the device tree while
retaining the legacy code/functionality.
One notable change introduced here is that, for DM_ETH,
the name of the interfaces is corrected to the fmX-macY
format, that avoids the referral to the MAC block names
which were incorrect for FMan v3 devices (i.e. DTSEC,
TGEC) and had weird formatting (i.e. FM1@DTSEC6, FM1@TGEC1).
The legacy code is left unchanged in this respect.
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board/freescale/ls1046ardb')
-rw-r--r-- | board/freescale/ls1046ardb/ls1046ardb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/ls1046ardb/ls1046ardb.c b/board/freescale/ls1046ardb/ls1046ardb.c index cc6bd883c3..5308cb2e1c 100644 --- a/board/freescale/ls1046ardb/ls1046ardb.c +++ b/board/freescale/ls1046ardb/ls1046ardb.c @@ -172,8 +172,10 @@ int ft_board_setup(void *blob, bd_t *bd) ft_cpu_setup(blob, bd); #ifdef CONFIG_SYS_DPAA_FMAN +#ifndef CONFIG_DM_ETH fdt_fixup_fman_ethernet(blob); #endif +#endif fdt_fixup_icid(blob); |