All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Sakoman <steve@sakoman.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size
Date: Sun, 26 Sep 2010 07:57:24 -0700	[thread overview]
Message-ID: <1285513044.24562.10.camel@quadra> (raw)
In-Reply-To: <20100926143707.AFC3E134F52@gemini.denx.de>

On Sun, 2010-09-26 at 16:37 +0200, Wolfgang Denk wrote:
> Dear Nishanth Menon,
> 
> In message <4C9F3E4F.3040403@gmail.com> you wrote:
> >
> > > I think you are referring to SDRAM initialization. Yes, it is assumed
> > > that SDRAM initialization(at least the DMM part of it) is done before
> > > the call to sdram_size(). The right location for this seems
> > > to be the initial part of sdram_init().
> > 
> > thanks for the clarification.. NOR boot is usually going to have initial 
> > part in XIP -> we'd traditionally relocate to SDRAM before the call to 
> > sdram_size() happens.
> 
> Yes, this was the way how many ARM boards id, and this is what I'm
> trying to explain: this is WRONG.
> 
> SDRAM configuration must be done while still running from NOR, i. e.
> before relocation. Only then free reconfiguration, auto-sizing etc. is
> possible.

I'll make sure that this is done properly when(if?) a patch series for
an OMAP4 board with NOR boot is prepared.

Getting back to the subject patch, though :-)

This patch fixes a bug in the current Panda board support in rc2.
Without this patch U-boot will return an erroneous size for available
RAM.  We should consider it for inclusion as soon as practical.

Regards,

Steve

  reply	other threads:[~2010-09-26 14:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23 21:12 [U-Boot] [PATCH] ARMV7: OMAP4: Calculate SDRAM size Steve Sakoman
2010-09-25 15:00 ` Nishanth Menon
2010-09-25 22:34   ` Wolfgang Denk
2010-09-26  2:37   ` Steve Sakoman
2010-09-26  8:39   ` V, Aneesh
2010-09-26  8:52     ` Wolfgang Denk
2010-09-26 12:36     ` Nishanth Menon
2010-09-26 14:37       ` Wolfgang Denk
2010-09-26 14:57         ` Steve Sakoman [this message]
2010-09-26 15:28           ` Nishanth Menon
2010-09-27  6:32         ` V, Aneesh
2010-09-27  9:00           ` V, Aneesh
2010-09-27  9:02           ` Wolfgang Denk
2010-09-27 21:17             ` Steve Sakoman
2010-09-27 21:37               ` Wolfgang Denk
2010-09-27 21:41                 ` Steve Sakoman
2010-09-28 17:42                   ` Wolfgang Denk
2010-09-28 17:52                     ` Paulraj, Sandeep

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=1285513044.24562.10.camel@quadra \
    --to=steve@sakoman.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.