public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] mx31ads: Use the new relocation scheme
Date: Thu, 02 Jun 2011 08:28:36 +0200	[thread overview]
Message-ID: <4DE72D94.2090604@denx.de> (raw)
In-Reply-To: <1306957601-27016-1-git-send-email-fabio.estevam@freescale.com>

On 06/01/2011 09:46 PM, Fabio Estevam wrote:
> This fixes the MX31ADS build by using the new relocation scheme.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> ---

Hi Fabio,

> Changes since v1:
> 
> - Fixed lines over 80 characters.
> 
> Build tested only.
> 
> Do not have the hardware handy to test.

Maybe someone can help on this topic ;-)

> -int dram_init (void) +int dram_init(void) +{ +	/* dram_init must
> store complete ramsize in gd->ram_size */ +	gd->ram_size =
> get_ram_size((volatile void *)CONFIG_SYS_SDRAM_BASE,

I know it is the same, but if you use PHYS_SDRAM_1 instead of
CONFIG_SYS_SDRAM_BASE (as most boards do), the reader understands easier
that the start address and the size are strictly connected.

> --- a/board/freescale/mx31ads/u-boot.lds +++
> b/board/freescale/mx31ads/u-boot.lds @@ -48,23 +48,47 @@ SECTIONS
> 

Can we get rid of this file ? We do not need anymore, and you can also
remove config.mk as well.

Your patch makes u-boot.lds in board directory identical (if I have not
missed something) to arch/arm/cpu/arm1136/u-boot.lds.

Best regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2011-06-02  6:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01 19:46 [U-Boot] [PATCH v2] mx31ads: Use the new relocation scheme Fabio Estevam
2011-06-02  6:28 ` Stefano Babic [this message]
2011-06-02 16:02   ` Fabio Estevam
2011-06-02 17:39     ` Stefano Babic

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=4DE72D94.2090604@denx.de \
    --to=sbabic@denx.de \
    --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