summaryrefslogtreecommitdiffstats
path: root/board/LaCie/edminiv2/edminiv2.c
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2012-06-05 13:16:00 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:33 +0200
commitc59c085731571d8e04344f815fd3a25bb0f69ae1 (patch)
tree93a0d9c89b359b8ab2451c122488274f3b5bea0d /board/LaCie/edminiv2/edminiv2.c
parentd92151b9259bc009a4dd8ed1683770520f3b10ac (diff)
downloadtalos-obmc-uboot-c59c085731571d8e04344f815fd3a25bb0f69ae1.tar.gz
talos-obmc-uboot-c59c085731571d8e04344f815fd3a25bb0f69ae1.zip
ARM: don't probe PHY address for LaCie boards
The command miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr) always returns 8 for the PHY address. It is the reset value for the PHY Address Register. Obviously, this default value could be incorrect. Moreover, as the PHY address is well known, there is no need to auto-detect it. Now, the PHY address must given as a parameter to the PHY initialization function. Additionally this patch also fixes some aesthetic issues. Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Diffstat (limited to 'board/LaCie/edminiv2/edminiv2.c')
-rw-r--r--board/LaCie/edminiv2/edminiv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/LaCie/edminiv2/edminiv2.c b/board/LaCie/edminiv2/edminiv2.c
index 1b33875f2f..4a9b30834a 100644
--- a/board/LaCie/edminiv2/edminiv2.c
+++ b/board/LaCie/edminiv2/edminiv2.c
@@ -96,6 +96,6 @@ int board_init(void)
/* Configure and enable MV88E1116 PHY */
void reset_phy(void)
{
- mv_phy_88e1116_init("egiga0");
+ mv_phy_88e1116_init("egiga0", 8);
}
#endif /* CONFIG_RESET_PHY_R */
OpenPOWER on IntegriCloud