From: Luka Perkov <uboot@lukaperkov.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] add new board nas62x0
Date: Sun, 18 Mar 2012 19:31:38 +0100 [thread overview]
Message-ID: <20120318183138.GA2541@w500.lan> (raw)
In-Reply-To: <201203181615.53546.marex@denx.de>
Hi Marek,
On Sun, Mar 18, 2012 at 04:15:53PM +0100, Marek Vasut wrote:
> > + * Copyright (C) 2011 G??rald Kerma <dreagle@doukki.net>
>
> Can you please fix your name here?
I think your mail agent is not displaying UTF8 characters correctly. If
this is a problem we could change it if Gerald is ok with that. Nobody
else had problems with this...
> > +#define IB62x0_OE_LOW (~(0))
> > +#define IB62x0_OE_HIGH (~(0))
>
> Fix this constant please (0xffffffff) and remove those parenthesis ... btw
> OE_HIGH and OE_LOW have both the same value?
Are you sure? It's done this way in:
board/Marvell/dreamplug/dreamplug.h
board/Marvell/sheevaplug/sheevaplug.h
board/Seagate/dockstar/dockstar.h
> > +# Configure RGMII-0 interface pad voltage to 1.8V
> > +DATA 0xFFD100e0 0x1b1b1b9b
>
> Make usage of upper/lower case consistent across files in your patch please
> (lowercase prefered).
Ok. I will send this in v4 once I get your feedback on other items.
> > +#define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
>
> Are you sure you want to skip lowlevel init? It'll break cache setup etc. I
> believe.
I will retest and send v4 once I get your feedback on other items.
> > +# define CONFIG_SYS_PROMPT "IB-NAS6210 # "
> > +#elif CONFIG_BOARD_IS_IB_NAS6220
> > +# define CONFIG_SYS_PROMPT "IB-NAS6220 # "
> > +#else
> > +# error Unknown RaidSonic ICY BOX board specified
> > +#endif
>
> Please make the prompt like "=> " so we can run tests on this :)
Ok.
> > +#define CONFIG_MVSATA_IDE_USE_PORT0
> > +# ifdef CONFIG_BOARD_IS_IB_NAS6210
> > +# undef CONFIG_SYS_IDE_MAXBUS
> > +# define CONFIG_SYS_IDE_MAXBUS 1
> > +# undef CONFIG_SYS_IDE_MAXDEVICE
> > +# define CONFIG_SYS_IDE_MAXDEVICE 1
> > +# elif CONFIG_BOARD_IS_IB_NAS6220
> > +# define CONFIG_MVSATA_IDE_USE_PORT1
> > +# endif
> > +#define CONFIG_SYS_ATA_IDE0_OFFSET KW_SATA_PORT0_OFFSET
> > +# ifdef CONFIG_BOARD_IS_IB_NAS6220
> > +# define CONFIG_SYS_ATA_IDE1_OFFSET KW_SATA_PORT1_OFFSET
> > +# endif
> > +#endif /* CONFIG_CMD_IDE */
>
> please don't use this "#[space][space]define" convention.
I must disagree here. This is more readable and there are many examples
in u-boot that use that syntax:
$ egrep '#[ ]+define' * -r | wc -l
12557
> The patch looks good otherwise )
Cool. Thanks for reviewing.
Bye,
Luka
next prev parent reply other threads:[~2012-03-18 18:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-17 23:40 [U-Boot] [PATCH v2] add new board nas62x0 Luka Perkov
2012-03-17 23:43 ` Luka Perkov
2012-03-18 10:04 ` Wolfgang Denk
2012-03-18 15:15 ` Marek Vasut
2012-03-18 18:31 ` Luka Perkov [this message]
2012-03-19 15:50 ` Marek Vasut
2012-03-19 22:42 ` Luka Perkov
2012-03-20 6:48 ` Marek Vasut
2012-03-21 0:34 ` Luka Perkov
2012-03-21 7:21 ` Marek Vasut
2012-03-21 9:51 ` Prafulla Wadaskar
2012-03-21 10:02 ` Marek Vasut
2012-03-21 10:15 ` Prafulla Wadaskar
2012-03-21 10:56 ` Marek Vasut
2012-03-21 12:01 ` Prafulla Wadaskar
2012-03-20 7:04 ` DrEagle
2012-03-20 8:21 ` Marek Vasut
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=20120318183138.GA2541@w500.lan \
--to=uboot@lukaperkov.net \
--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