From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Sat, 16 May 2009 09:43:07 +0900 Subject: [U-Boot] [GIT PULL] MIPS updates In-Reply-To: <4A0E08F4.5050502@pobox.com> References: <4A0E08F4.5050502@pobox.com> Message-ID: <4A0E0C1B.4060402@pobox.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Shinya Kuribayashi wrote: > Thomas Lange (1): > MIPS: Implement ethernet halt for au1x00 [...] > diff --git a/cpu/mips/au1x00_eth.c b/cpu/mips/au1x00_eth.c > index 6272a3a..5074997 100644 > --- a/cpu/mips/au1x00_eth.c > +++ b/cpu/mips/au1x00_eth.c > @@ -276,6 +276,10 @@ static int au1x00_init(struct eth_device* dev, bd_t * bd){ > } > > static void au1x00_halt(struct eth_device* dev){ > + volatile u32 *macen = (volatile u32*)MAC0_ENABLE; > + > + /* Put MAC0 in reset */ > + *macen = 0; > } > > int au1x00_enet_initialize(bd_t *bis){