diff options
author | Timur Tabi <timur@freescale.com> | 2012-08-14 06:47:21 (GMT) |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-08-23 15:24:18 (GMT) |
commit | 99abf7ded3b8daf82bdf1a60d1a92cb76c482c9a (patch) | |
tree | 7f5647a8cff29f9f99adb4c5005fbc7900b38388 /drivers/net/fm/init.c | |
parent | a2af6a7a84c32ee3c1500000d2a0238052a4f5e1 (diff) | |
download | u-boot-99abf7ded3b8daf82bdf1a60d1a92cb76c482c9a.tar.xz |
powerpc/85xx: add support for FM2 DTSEC5
Unlike previous SOCs, the Freescale P5040 has a fifth DTSEC on the second
Fman, so add the Fman and SerDes macros for that DTSEC.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'drivers/net/fm/init.c')
-rw-r--r-- | drivers/net/fm/init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/fm/init.c b/drivers/net/fm/init.c index 953c359..9834cd9 100644 --- a/drivers/net/fm/init.c +++ b/drivers/net/fm/init.c @@ -50,6 +50,9 @@ struct fm_eth_info fm_info[] = { #if (CONFIG_SYS_NUM_FM2_DTSEC >= 4) FM_DTSEC_INFO_INITIALIZER(2, 4), #endif +#if (CONFIG_SYS_NUM_FM2_DTSEC >= 5) + FM_DTSEC_INFO_INITIALIZER(2, 5), +#endif #if (CONFIG_SYS_NUM_FM1_10GEC >= 1) FM_TGEC_INFO_INITIALIZER(1, 1), #endif |