public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] cm-t54: add cm-t54 board support
Date: Tue, 6 May 2014 13:45:52 -0400	[thread overview]
Message-ID: <20140506174552.GU22182@bill-the-cat> (raw)
In-Reply-To: <1398593848-13804-5-git-send-email-lifshitz@compulab.co.il>

On Sun, Apr 27, 2014 at 01:17:28PM +0300, Dmitry Lifshitz wrote:

> Add cm-t54 board directory, config file. Enable build.
[snip]
> diff --git a/board/compulab/cm_t54/Makefile b/board/compulab/cm_t54/Makefile
> new file mode 100644
> index 0000000..bd8bc51
> --- /dev/null
> +++ b/board/compulab/cm_t54/Makefile
> @@ -0,0 +1,10 @@
> +#
> +# Copyright (C) 2014 Compulab Ltd - http://compulab.co.il/
> +#
> +# Author: Dmitry Lifshitz <lifshitz@compulab.co.il>
> +#
> +# SPDX-License-Identifier:	GPL-2.0+
> +#
> +
> +obj-y += $(BOARD).o

Please don't use $(BOARD) here, just went and changed the other users of
this convention.

> +/*
> + * Routine: board_init
> + * Description: hardware init.
> + */
> +int board_init(void)
> +{
> +	gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */
> +
> +	return 0;
> +}

CONFIG_SYS_SDRAM_BASE + 0x100

> +#define CONFIG_EXTRA_ENV_SETTINGS \
> +	"loadaddr=0x82000000\0" \
> +	"fdtaddr=0x80F80000\0" \
> +	"fdt_high=0xffffffff\0" \
> +	"rdaddr=0x81000000\0" \

Can you use DEFAULT_LINUX_BOOT_ENV here (see u-boot-ti) ?  I really
don't like disabling fdt relocation with it being below 128MB (I'd
prefer what we do with DEFAULT_LINUX_BOOT_ENV and bootm_size, please see
the various ML threads about that).

Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140506/06f19a06/attachment.pgp>

  reply	other threads:[~2014-05-06 17:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-27 10:17 [U-Boot] [PATCH 0/4] ARM: OMAP5: add cm-t54 board support Dmitry Lifshitz
2014-04-27 10:17 ` [U-Boot] [PATCH 1/4] ARM: OMAP5: add UART4 support Dmitry Lifshitz
2014-05-14  1:35   ` [U-Boot] [U-Boot,1/4] " Tom Rini
2014-04-27 10:17 ` [U-Boot] [PATCH 2/4] ARM: OMAP5: Power: add LDO2 support for Palmas driver Dmitry Lifshitz
2014-05-14  1:36   ` [U-Boot] [U-Boot, " Tom Rini
2014-04-27 10:17 ` [U-Boot] [PATCH 3/4] ARM: OMAP5: add CKO buffer control mask Dmitry Lifshitz
2014-05-14  1:36   ` [U-Boot] [U-Boot,3/4] " Tom Rini
2014-04-27 10:17 ` [U-Boot] [PATCH 4/4] cm-t54: add cm-t54 board support Dmitry Lifshitz
2014-05-06 17:45   ` Tom Rini [this message]
2014-05-14  6:19     ` Igor Grinberg
2014-05-19  9:50     ` [U-Boot] [PATCH v2 " Dmitry Lifshitz
2014-05-23 23:50       ` [U-Boot] [U-Boot,v2,4/4] " Tom Rini

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=20140506174552.GU22182@bill-the-cat \
    --to=trini@ti.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