From: Ben Warren Date: Sun, 27 Jul 2008 20:16:26 -0700 Subject: [U-Boot-Users] [PATCH 1/1] Add support for ATMEL AT91SAM9G20EK board In-Reply-To: <1516faed0807271846k571a4661qb6b8770d23e5a67c@mail.gmail.com> References: <1516faed0807240105x783bcbd2meaea9ac59e5b9efc@mail.gmail.com> <1516faed0807271846k571a4661qb6b8770d23e5a67c@mail.gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Jul 27, 2008 at 6:46 PM, Hong Xu wrote: > Hi Ben Warren, > > On Sun, Jul 27, 2008 at 12:51, Ben Warren wrote: >> Hi Hong Xu, >> >> On Thu, Jul 24, 2008 at 1:05 AM, Hong Xu wrote: >>> >From 81230b02610c06fdc8a175e635851346488e3bdb Mon Sep 17 00:00:00 2001 >>> From: Hong Xu >>> Date: Thu, 24 Jul 2008 14:25:05 +0800 >>> Subject: [PATCH 1/1] Add support for ATMEL AT91SAM9G20EK board >>> >>> This patch adds support for ATMEL AT91SAM9G20EK board. >>> User manual for AT91SAM9G20EK board, see >>> http://www.atmel.com/dyn/resources/prod_documents/doc6413.pdf >>> AT91 SAM9G20 datasheet, see >>> http://www.atmel.com/dyn/resources/prod_documents/doc6384.pdf >>> >>> Signed-off-by: Hong Xu >>> --- >> >>> diff --git a/net/eth.c b/net/eth.c >>> index 38979aa..3f50e2b 100644 >>> --- a/net/eth.c >>> +++ b/net/eth.c >>> @@ -287,7 +287,7 @@ int eth_initialize(bd_t *bis) >>> mcdmafec_initialize(bis); >>> #endif >>> #if defined(CONFIG_AT91CAP9) || defined(CONFIG_AT91SAM9260) || \ >>> - defined(CONFIG_AT91SAM9263) >>> + defined(CONFIG_AT91SAM9263) || defined(CONFIG_AT91SAM9G20) >>> at91sam9_eth_initialize(bis); >>> #endif >>> >> >> Please don't touch net/eth.c. Instead, implement the following in board code: > > Actually I did NOT touch the logic in net/eth.c. I just said, "hey, > since you guys have the logic, please make a call for me.". That's it. > :-) Sure. I'm saying, don't even do that. I mean don't touch the file, not don't touch the logic. regards, Ben