u-boot/drivers/net/fm
shaohui xie 1f3bd3e239 powerpc/fm: fix TBI PHY address settings
TBI PHY address (TBIPA) register is set in general frame manager
phy init funciton dtsec_init_phy() in drivers/net/fm/eth.c, and
it is supposed to set TBIPA on FM1@DTSEC1 in case of FM1@DTSEC1
isn't used directly, which provides MDIO for other ports. So
following code is wrong in case of FM2, which has a different
mac base.

struct dtsec *regs = (struct dtsec *)fm_eth->mac->base;
/* Assign a Physical address to the TBI */
out_be32(&regs->tbipa, CONFIG_SYS_TBIPA_VALUE);

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-10-22 15:52:46 -05:00
..
dtsec.c powerpc/85xx: fix null pointer dereference when init the SGMII TBI PHY 2011-10-09 17:57:53 -05:00
eth.c powerpc/fm: fix TBI PHY address settings 2012-10-22 15:52:46 -05:00
fm.c powerpc/corenet_ds: Slave module for boot from SRIO 2012-04-24 23:58:33 -05:00
fm.h fm-eth: Add ability for board code to disable a port 2011-10-03 08:52:15 -05:00
init.c powerpc/mpc85xx: Add T4240 SoC 2012-10-22 14:31:23 -05:00
Makefile fm/mEMAC: add mEMAC frame work 2012-10-22 14:31:25 -05:00
memac.c fm/mEMAC: add mEMAC frame work 2012-10-22 14:31:25 -05:00
memac_phy.c fm/mEMAC: add mEMAC frame work 2012-10-22 14:31:25 -05:00
p1023.c fm: Don't allow disabling of FM1-DTSEC1 2011-10-18 00:36:15 -05:00
p4080.c fm: Don't allow disabling of FM1-DTSEC1 2011-10-18 00:36:15 -05:00
p5020.c fm: Don't allow disabling of FM1-DTSEC1 2011-10-18 00:36:15 -05:00
t4240.c powerpc/mpc85xx: Add T4240 SoC 2012-10-22 14:31:23 -05:00
tgec.c powerpc/85xx: Add support for FMan ethernet in Independent mode 2011-09-29 19:01:05 -05:00
tgec_phy.c powerpc/85xx: Add support for FMan ethernet in Independent mode 2011-09-29 19:01:05 -05:00