From patchwork Fri Nov 2 17:39:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot, SPEAr, Enhancement, 3/9] spear320plc: Correct the MACB interface Date: Fri, 02 Nov 2012 07:39:29 -0000 From: Vipin Kumar X-Patchwork-Id: 196694 Message-Id: <8b393c1453cb183b898d7af0da9916385cf3e04d.1351877331.git.vipin.kumar@st.com> To: Cc: sr@denx.de, spear-devel@list.st.com --- 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;