public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Matej Kupljen <matej.kupljen@ultra.si>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] memory probe
Date: Thu, 12 May 2005 11:06:07 +0200	[thread overview]
Message-ID: <1115888767.9698.6.camel@orionlinux.starfleet.com> (raw)
In-Reply-To: <20050512084229.CA115C1512@atlas.denx.de>

Hi

> > to properly initialise SDRAM. You can use this code only to report
> > the memory size to U-Boot and the Linux.
> 
> No, this code is used to ADJUST the memory controller to  the  actual
> sizes found on the board - you start with a preliminary configuration
> of  the  memory  controller which assumes that all possible banks are
> fitted with the maximum amountof memory; then you run  get_ram_size()
> on  all  of these banks, disable those where a size of 0 is reported,
> and adjust controller settings according to the  sizes  reported  for
> the others.

I see.
But how can you determine the number of Column/Row address bits and the
number of internal SDRAM banks?
Those are the values for the registers MDCNFG for PXA255, for example.

BR,
Matej

  reply	other threads:[~2005-05-12  9:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-10  2:09 [U-Boot-Users] memory probe Sumit Chauhan
2005-05-11 18:31 ` Matej Kupljen
2005-05-11 20:56   ` Wolfgang Denk
2005-05-12  8:15     ` Matej Kupljen
2005-05-12  8:42       ` Wolfgang Denk
2005-05-12  9:06         ` Matej Kupljen [this message]
2005-05-12  9:43           ` Wolfgang Denk
2005-05-11 18:38 ` Jon Loeliger
2005-05-11 18:44 ` Wolfgang Denk

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=1115888767.9698.6.camel@orionlinux.starfleet.com \
    --to=matej.kupljen@ultra.si \
    --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