From: Peter Tyser <ptyser@xes-inc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Support for Calao USB A9263 board based on AT91SAM9263 CPU
Date: Thu, 16 Jul 2009 09:52:43 -0500 [thread overview]
Message-ID: <1247755963.19222.811.camel@localhost.localdomain> (raw)
In-Reply-To: <20090716133929.33a9b77a@surf>
Hi Thomas,
> > > +#define ROUND(A, B) (((A) + (B)) & ~((B) - 1))
> >
> > I'd try and use the round functions already in include/common.h if
> > possible. Maybe its not possible if this file is included prior to
> > common.h though, I'm not sure.
>
> Not sure about this one. All at91 boards do it this way, so if a fix
> needs to be done, I'd suggest to make it separatly. Is this ok ?
I don't have the final say here, I'm just giving my opinion. If it was
possible to clean up, the best way in my would be to fix your board (ie
this patch), then send a separate follow-up patch fixing other boards.
I don't think its too big of a deal either way.
> Below is an updated version of the patch. Not sure it's the right way
> to resend it, though.
Not quite the right way. As is, all your comments above would go into
U-Boot's changelog, which you don't want. You should either send your
patch and comments in separate emails, or put any comments you don't
want in the changelog below the --- mentioned below.
> The Calao USB A9263 board is a board manufactured and sold by Calao
> Systems <http://www.calao-systems.com>. Its components are very
> similar to the AT91SAM9263EK board, so its configuration is based on
> the configuration of this board. There are however some differences:
> different clocks, no LCD, etc.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
You need to add a '---' line here. Anything from the --- to the first
diff below are only comments and will be discarded when your patch is
applied.
> MAINTAINERS | 4
> MAKEALL | 1
> Makefile | 3
> board/calao/usb-a9263/Makefile | 56 ++++++++
> board/calao/usb-a9263/config.mk | 1
> board/calao/usb-a9263/led.c | 44 ++++++
> board/calao/usb-a9263/partition.c | 37 +++++
> board/calao/usb-a9263/usb-a9263.c | 193 ++++++++++++++++++++++++++++
> include/configs/usb-a9263.h | 186 ++++++++++++++++++++++++++
> 9 files changed, 525 insertions(+)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 575a7ec..5c37647 100644
> --- a/MAINTAINERS
<snip>
> +#########################################################################
> diff --git a/board/calao/usb-a9263/config.mk b/board/calao/usb-a9263/config.mk
> new file mode 100644
> index 0000000..ff2cfd1
> --- /dev/null
> +++ b/board/calao/usb-a9263/config.mk
> @@ -0,0 +1 @@
> +TEXT_BASE = 0x23f00000
You should add a copyright header of some sort to config.mk.
Best,
Peter
next prev parent reply other threads:[~2009-07-16 14:52 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-01 12:07 [U-Boot] Support for Calao USB A9263 board based on AT91SAM9263 CPU Thomas Petazzoni
2009-07-08 21:42 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-15 14:35 ` Thomas Petazzoni
2009-07-15 14:51 ` Peter Tyser
2009-07-16 11:39 ` Thomas Petazzoni
2009-07-16 14:52 ` Peter Tyser [this message]
2009-07-20 15:40 ` Thomas Petazzoni
2009-07-20 15:51 ` Peter Tyser
2009-07-17 19:41 ` Wolfgang Denk
2009-07-20 15:42 ` Thomas Petazzoni
2009-07-20 21:11 ` Wolfgang Denk
2009-07-22 15:30 ` Thomas Petazzoni
2009-07-22 15:57 ` Peter Tyser
2009-07-22 16:04 ` Thomas Petazzoni
2009-07-22 16:10 ` Peter Tyser
2009-07-22 16:05 ` Albin Tonnerre
2009-07-23 22:35 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-23 22:45 ` Wolfgang Denk
2009-07-23 22:53 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-24 5:38 ` Wolfgang Denk
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=1247755963.19222.811.camel@localhost.localdomain \
--to=ptyser@xes-inc.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