summaryrefslogtreecommitdiff
path: root/board/freescale/p2041rdb/eth.c
diff options
context:
space:
mode:
authorRoy Zang <tie-fei.zang@freescale.com>2011-10-28 13:15:36 +0800
committerKumar Gala <galak@kernel.crashing.org>2011-11-08 08:18:16 -0600
commitafc52db2f76e0215411a916af46c578fcfd02a81 (patch)
treea48a045455d0adfd07b9462ccee0c1540a56ee0e /board/freescale/p2041rdb/eth.c
parent5721385b187b3154c7768e6c182501022f4e2e45 (diff)
downloadu-boot-imx-afc52db2f76e0215411a916af46c578fcfd02a81.zip
u-boot-imx-afc52db2f76e0215411a916af46c578fcfd02a81.tar.gz
u-boot-imx-afc52db2f76e0215411a916af46c578fcfd02a81.tar.bz2
powerpc/QorIQ: fix network frame manager TBI PHY address settings
TBI PHY address (TBIPA) register has been set in general frame manager phy init funciton dtsec_init_phy() in drivers/net/fm/eth.c So remove the duplicate code on QorIQ frame manager Ethernet related platforms, which include Hydra board, P4080DS board and P2041rdb board. Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Cc: Andy Fleming <afleming@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/p2041rdb/eth.c')
-rw-r--r--board/freescale/p2041rdb/eth.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/board/freescale/p2041rdb/eth.c b/board/freescale/p2041rdb/eth.c
index 0a1dfa7..4b0d577 100644
--- a/board/freescale/p2041rdb/eth.c
+++ b/board/freescale/p2041rdb/eth.c
@@ -139,7 +139,6 @@ void board_ft_fman_fixup_port(void *fdt, char *compat, phys_addr_t addr,
int board_eth_init(bd_t *bis)
{
#ifdef CONFIG_FMAN_ENET
- struct dtsec *tsec = (void *)CONFIG_SYS_FSL_FM1_DTSEC1_ADDR;
struct fsl_pq_mdio_info dtsec_mdio_info;
struct tgec_mdio_info tgec_mdio_info;
unsigned int i, slot;
@@ -149,13 +148,6 @@ int board_eth_init(bd_t *bis)
initialize_lane_to_slot();
- /*
- * Set TBIPA on FM1@DTSEC1. This is needed for configurations
- * where FM1@DTSEC1 isn't used directly, since it provides
- * MDIO for other ports.
- */
- out_be32(&tsec->tbipa, CONFIG_SYS_TBIPA_VALUE);
-
dtsec_mdio_info.regs =
(struct tsec_mii_mng *)CONFIG_SYS_FM1_DTSEC1_MDIO_ADDR;
dtsec_mdio_info.name = DEFAULT_FM_MDIO_NAME;