powerpc/t4240qds: fix PHY reset timeout issue
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Mon, 25 Mar 2013 07:40:15 +0000 (07:40 +0000)
committerAndy Fleming <afleming@freescale.com>
Fri, 24 May 2013 21:54:13 +0000 (16:54 -0500)
commit037e19b812a4f8a1ce08e023484d51214766f341
tree54ffc66e6d9f973207b6395e0fd719bd0bc7e511
parente1379b0730fcef15e6e77305a56f35912697409c
powerpc/t4240qds: fix PHY reset timeout issue

QSGMII card has different PHY address against previous SGMII card.
We check the type of card in slots and set correct PHY address to
avoid complainning "PHY reset timed out" during u-boot booting up.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
board/freescale/t4qds/eth.c