diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2013-03-25 07:33:17 (GMT) |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-05-14 21:00:26 (GMT) |
commit | 944b6ccf1bc436546844536bf62ba62a906ed4e4 (patch) | |
tree | 552979469c916a4604ecdf101868805529efece8 /drivers/net/fm/init.c | |
parent | 4e5c9261be576bf6419aa54bd1894d72dc275ec5 (diff) | |
download | u-boot-944b6ccf1bc436546844536bf62ba62a906ed4e4.tar.xz |
Fman/t4240: some fix for 10G XAUI
1. fix 10G mac offset by plus 8;
2. add second 10G port info for FM1 & FM2 when init ethernet info;
3. fix 10G lanes name to match lane protocol table;
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Roy Zang <tie-fei.zang@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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/fm/init.c b/drivers/net/fm/init.c index ae389b8..d12ec9b 100644 --- a/drivers/net/fm/init.c +++ b/drivers/net/fm/init.c @@ -74,9 +74,15 @@ struct fm_eth_info fm_info[] = { #if (CONFIG_SYS_NUM_FM1_10GEC >= 1) FM_TGEC_INFO_INITIALIZER(1, 1), #endif +#if (CONFIG_SYS_NUM_FM1_10GEC >= 2) + FM_TGEC_INFO_INITIALIZER(1, 2), +#endif #if (CONFIG_SYS_NUM_FM2_10GEC >= 1) FM_TGEC_INFO_INITIALIZER(2, 1), #endif +#if (CONFIG_SYS_NUM_FM2_10GEC >= 2) + FM_TGEC_INFO_INITIALIZER(2, 2), +#endif }; int fm_standard_init(bd_t *bis) |