[U-Boot] [SPEAr Enhancement PATCH 3/9] spear320plc: Correct the MACB interface

Vipin Kumar vipin.kumar at st.com
Fri Nov 2 18:39:29 CET 2012


---
 board/st/spear/spear320plc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/st/spear/spear320plc.c b/board/st/spear/spear320plc.c
index 84185a5..5a79eb6 100644
--- a/board/st/spear/spear320plc.c
+++ b/board/st/spear/spear320plc.c
@@ -116,8 +116,8 @@ int board_eth_init(bd_t *bis)
 		ret++;
 #endif
 #if defined(CONFIG_MACB)
-	if (macb_eth_initialize(0, (void *)CONFIG_SYS_MACB0_BASE,
-				CONFIG_MACB0_PHY) >= 0)
+	if (macb_eth_initialize(1, (void *)CONFIG_SYS_MACB1_BASE,
+				CONFIG_MACB1_PHY) >= 0)
 		ret++;
 #endif
 	return ret;
-- 
1.7.11.4



More information about the U-Boot mailing list