summaryrefslogtreecommitdiff
path: root/drivers/net/fm
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2012-08-14 06:47:21 +0000
committerAndy Fleming <afleming@freescale.com>2012-08-23 10:24:18 -0500
commit99abf7ded3b8daf82bdf1a60d1a92cb76c482c9a (patch)
tree7f5647a8cff29f9f99adb4c5005fbc7900b38388 /drivers/net/fm
parenta2af6a7a84c32ee3c1500000d2a0238052a4f5e1 (diff)
downloadu-boot-imx-99abf7ded3b8daf82bdf1a60d1a92cb76c482c9a.zip
u-boot-imx-99abf7ded3b8daf82bdf1a60d1a92cb76c482c9a.tar.gz
u-boot-imx-99abf7ded3b8daf82bdf1a60d1a92cb76c482c9a.tar.bz2
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')
-rw-r--r--drivers/net/fm/init.c3
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