All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V4][NEXT] Davinci: add support for the ea20 board
Date: Tue, 16 Nov 2010 17:12:32 +0100	[thread overview]
Message-ID: <4CE2AD70.7020103@denx.de> (raw)
In-Reply-To: <AANLkTik6MsaexUuFmc4f6CJ6Q+rqgHHg2Yqui2HiAMdu@mail.gmail.com>

On 11/16/2010 04:44 PM, Ben Gardiner wrote:
> On Tue, Nov 16, 2010 at 5:06 AM, Stefano Babic <sbabic@denx.de> wrote:
>> This board uses the OMAP-L138 SOM stacked on a
>> custom baseboard. It supports SPI Flash, Ethernet
>> with RMII.
>>
>> Signed-off-by: Stefano Babic <sbabic@denx.de>
>> ---
>> Changes since V2:
>>  - Make clear that the code is taken from da850evm.c
>>   and not da830evm.c (Ben Gardiner)
>>  - factorize function to enable RMII (Ben Gardiner)
> 
> previous versions were based on Sugosh's and my patches. Is that still true?

Yes, it is not changed.

>> +void davinci_emac_mii_mode_sel(int mode_sel);
> I'm sorry I didn't mention this before -- I was just reviewing my
> pending RMII patch and noticed the following:
> 
> If this patch is based on the da850evm RMII support as previous
> version indicated then could this function prototype and the
> implementation below be wrapped in #if defined(CONFIG_DRIVER_TI_EMAC)
> and the corresponding declaration and implementations added to
> board/davinci/da8xxevm/common.{h,c} in the RMII patch be removed to
> minimize duplicate code?

I will protect prototype and implementation, but I prefer to not move
the code in da8xxevm/common.x. The ea20 board has its own directory, and
the place to share code among all davinci boards is under davinci/common
instead of under da8xxevm. And probably it should be better to protect
the function with CONFIG_SOC_DA8XX, too.

> 
> You said you were going to remove this NAND stuff. It sounds like the
> ea20 will support NAND, so I've no qualms about keeping it around;
> just wondering if you forgot to remove it or forgot to mention that
> you weren't going to remove it?

The main reason is that I cannot test at the moment the NAND. I think
the best way to do is that I will provide another patch only when I will
get a new release of the board and I can test the NAND functionalities.
At the moment, this is dead code.

>> diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
>> index e4ae6f3..00d946e 100644
>> --- a/include/configs/da850evm.h
>> +++ b/include/configs/da850evm.h
> 
> I think some da850evm.h changes creeped in by accident.

Yes, I noted too late, email was already sent ;-)

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2010-11-16 16:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-13  8:47 [U-Boot] [PATCH][NEXT] Davinci: add support for the ea20 board Stefano Babic
2010-11-13 10:48 ` Wolfgang Denk
2010-11-14 14:49   ` Stefano Babic
2010-11-14 14:55 ` [U-Boot] [PATCH V2][NEXT] " Stefano Babic
2010-11-15  7:36   ` Sughosh Ganu
2010-11-15  9:35     ` Stefano Babic
2010-11-15  9:46 ` [U-Boot] [PATCH V3][NEXT] " Stefano Babic
2010-11-15 15:32   ` Ben Gardiner
2010-11-16  8:55     ` Stefano Babic
2010-11-16 10:06 ` [U-Boot] [PATCH V4][NEXT] " Stefano Babic
2010-11-16 15:44   ` Ben Gardiner
2010-11-16 16:12     ` Stefano Babic [this message]
2010-11-16 17:16     ` Stefano Babic
2010-11-16 14:50 ` [U-Boot] [PATCH V5][NEXT] " Stefano Babic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CE2AD70.7020103@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.