public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4] add new board nas62x0
Date: Wed, 21 Mar 2012 08:55:24 +0200	[thread overview]
Message-ID: <4F697B5C.6050007@compulab.co.il> (raw)
In-Reply-To: <20120321005325.GC17427@w500.lan>

Hi Luka,

On 03/21/12 02:53, Luka Perkov wrote:
> Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220.
> 
> Only difference between boards is number of SATA ports.
> 
> Signed-off-by: Luka Perkov <uboot@lukaperkov.net>
> Signed-off-by: Gerald Kerma <dreagle@doukki.net>
> ---
> 
> Changes from version v3:
> 
>  * don't use utf8 for Geralds name
>  * don't mix upper/lower case in kwbimage.cfg
>  * fix prompt
> 
> Found problems that should be looked at (this is not related with adding
> support for this board):
> 
>  * IB62x0_OE_LOW and IB62x0_OE_HIGH issue
>  * CONFIG_SKIP_LOWLEVEL_INIT issue
> 
> In separate patch I'll resend fix for CONFIG_SKIP_LOWLEVEL_INIT.
> 
> 
>  MAINTAINERS                       |    4 +
>  board/Marvell/ib62x0/Makefile     |   51 +++++++++++
>  board/Marvell/ib62x0/ib62x0.c     |  114 ++++++++++++++++++++++++
>  board/Marvell/ib62x0/ib62x0.h     |   41 +++++++++
>  board/Marvell/ib62x0/kwbimage.cfg |  167 +++++++++++++++++++++++++++++++++++
>  boards.cfg                        |    2 +
>  include/configs/ib62x0.h          |  176 +++++++++++++++++++++++++++++++++++++
>  7 files changed, 555 insertions(+)

[...]

> diff --git a/board/Marvell/ib62x0/Makefile b/board/Marvell/ib62x0/Makefile
> new file mode 100644
> index 0000000..3d82f27
> --- /dev/null
> +++ b/board/Marvell/ib62x0/Makefile
> @@ -0,0 +1,51 @@
> +# You should have received a copy of the GNU General Public License
> +# along with this program; if not, write to the Free Software
> +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
> +# MA 02110-1301 USA

It is better to remove the postal address, as it is subject to change.
Please, check all files you add.

> +clean:
> +	rm -f $(SOBJS) $(OBJS)
> +
> +distclean:	clean
> +	rm -f $(LIB) core *.bak .depend

clean and distclean have no effect here and should be removed.

[...]

> diff --git a/board/Marvell/ib62x0/ib62x0.c b/board/Marvell/ib62x0/ib62x0.c
> new file mode 100644
> index 0000000..e6853e7
> --- /dev/null
> +++ b/board/Marvell/ib62x0/ib62x0.c

[...]

> +int board_init(void)
> +{
> +	/*
> +	 * arch number of board
> +	 */
> +	gd->bd->bi_arch_number = MACH_TYPE_NAS6210;

This should be handled in a generic way:
#define CONFIG_MACH_TYPE MACH_TYPE_NAS6210
in your board config file.

> +
> +	/* adress of boot parameters */
> +	gd->bd->bi_boot_params = kw_sdram_bar(0) + 0x100;
> +
> +	return 0;
> +}

[...]


-- 
Regards,
Igor.

  reply	other threads:[~2012-03-21  6:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21  0:53 [U-Boot] [PATCH v4] add new board nas62x0 Luka Perkov
2012-03-21  6:55 ` Igor Grinberg [this message]
2012-03-21  9:45   ` Prafulla Wadaskar
2012-03-21 10:10 ` Prafulla Wadaskar

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=4F697B5C.6050007@compulab.co.il \
    --to=grinberg@compulab.co.il \
    --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