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

Submitted by Vipin Kumar on Nov. 2, 2012, 5:39 p.m.

Details

Message ID 8b393c1453cb183b898d7af0da9916385cf3e04d.1351877331.git.vipin.kumar@st.com
State Deferred
Delegated to: Vipin Kumar
Headers show

Commit Message

Vipin Kumar Nov. 2, 2012, 5:39 p.m.
---
 board/st/spear/spear320plc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

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;