[U-Boot-Users] [PATCH 1/1] Add support for ATMEL AT91SAM9G20EK board

Ben Warren biggerbadderben at gmail.com
Mon Jul 28 05:16:26 CEST 2008


On Sun, Jul 27, 2008 at 6:46 PM, Hong Xu <hongxu.cn at gmail.com> wrote:
> Hi Ben Warren,
>
> On Sun, Jul 27, 2008 at 12:51, Ben Warren <biggerbadderben at gmail.com> wrote:
>> Hi Hong Xu,
>>
>> On Thu, Jul 24, 2008 at 1:05 AM, Hong Xu <hongxu.cn at gmail.com> wrote:
>>> >From 81230b02610c06fdc8a175e635851346488e3bdb Mon Sep 17 00:00:00 2001
>>> From: Hong Xu <hong.xu at atmel.com>
>>> 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 <hong.xu at atmel.com>
>>> ---
>> <snip>
>>> 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




More information about the U-Boot mailing list