public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: at91: at91sam9n12ek: add nandflash/spiflash/mmc/lcd support
Date: Mon, 18 Mar 2013 12:01:54 +0100	[thread overview]
Message-ID: <5146F422.8000309@gmail.com> (raw)
In-Reply-To: <5146E513.1010009@atmel.com>

Dear Josh Wu,

On 03/18/2013 10:57 AM, Josh Wu wrote:
> Dear Wolfgang Denk
> 
> Thanks for your review.  See my comment below:
> 
> On 3/18/2013 2:58 PM, Wolfgang Denk wrote:
>> Dear Josh Wu,
>>
>> In message <1363342624-2939-1-git-send-email-josh.wu@atmel.com> you
>> wrote:
>>> This patch adds at91sam9n12ek support, it enables:
>>> - dbgu
>>> - nand with pmecc
>>> - spi flash
>>> - mmc
>>> - lcd
>> It appears you are adding support for a new board - in this case the
>> Subject: is misleading, plrase fix.
>>
>> The missing entry in MAINTAINERS has already been pointed out. Please
>> also make sure to run your patch through checkpatch - it complains for
>> example "WARNING: line over 80 characters".  Please fix these, too.
>>
>> Please also make sure to keep all lists sorted. Bo shen already
>> mentioned this for the Makefile, but this also applies to lists as
>> here:
>>
>>      #elif defined(CONFIG_AT91SAM9G45) ||
>> defined(CONFIG_AT91SAM9M10G45) \
>>     -        || defined(CONFIG_AT91SAM9X5)
>>     +        || defined(CONFIG_AT91SAM9X5) || defined(CONFIG_AT91SAM9N12)
>>
> 
> I'll fix them in next version.

Can we please find another identifier instead? I will not have these
always growing list of SoC defines to distinguish between different
access modes. Can we find some common thing which all these SoC headers
export then? I mean something like 'AT91_CLOCK_IP_V2' in this case here.
If we are looking forward to a single u-boot binary for different boards
I would favor some runtime detection.

Beside that I will do a full review of the patch later this day.

Best regards

Andreas Bie?mann

  reply	other threads:[~2013-03-18 11:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 10:17 [U-Boot] [PATCH] arm: at91: at91sam9n12ek: add nandflash/spiflash/mmc/lcd support Josh Wu
2013-03-18  6:21 ` Bo Shen
2013-03-18  6:25 ` Bo Shen
2013-03-18  6:58 ` Wolfgang Denk
2013-03-18  9:57   ` Josh Wu
2013-03-18 11:01     ` Andreas Bießmann [this message]
2013-03-19 11:05       ` Josh Wu
2013-03-18 13:48 ` Andreas Bießmann
2013-03-19 10:58   ` Josh Wu
2013-03-19 11:27     ` Andreas Bießmann
2013-03-20 11:35       ` Josh Wu

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=5146F422.8000309@gmail.com \
    --to=andreas.devel@googlemail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox