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 10:15:36 +0200	[thread overview]
Message-ID: <1115885736.9698.2.camel@orionlinux.starfleet.com> (raw)
In-Reply-To: <20050511205618.99D50C1512@atlas.denx.de>

Hi

> > Then, in out dram_init function for our board, we again read the
> > DIP switch and decide what to report as DRAM size.
> 
> No need to do this.  If  implemented  correctly,  U-Boot  will  auto-
> matically  find  out  how  big  your  RAM.  This is what the RAM size
> detection code in common/memsize.c was made for. Just use it.

Yes, but you still need to read the DIP switch in the memsetup.S
to properly initialise SDRAM. You can use this code only to report
the memory size to U-Boot and the Linux.

BR,
Matej

  reply	other threads:[~2005-05-12  8:15 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 [this message]
2005-05-12  8:42       ` Wolfgang Denk
2005-05-12  9:06         ` Matej Kupljen
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=1115885736.9698.2.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