public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] memory sizing(440GX)
Date: Thu, 17 Feb 2005 22:12:50 +0100	[thread overview]
Message-ID: <20050217211255.ECA52C1430@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 17 Feb 2005 14:36:21 CST." <45ABD2373C33C4459D42B40EC4F346F205E1A387@FTWMLVEM03.e2k.ad.ge.com>

In message <45ABD2373C33C4459D42B40EC4F346F205E1A387@FTWMLVEM03.e2k.ad.ge.com> you wrote:
>
> should this function find the correct RAM size.

Yes, that's what it does.

> I have tried this get_ram_size(0, 512MB) on a board that has 256MB and
> it does not return the proper size (256MB).

And what did it return instead?

> I guess I need to test incrementally for the memory size. Right?

No, the code already does that. You just have to make sure that  your
memory  mapping  is correct (i. e. that the area [base, base+maxsize]
is mapped correectly in your memory controller).

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 22 - 24,  Hall 10.0 Booth 310
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Abstainer: A weak person who yields to the temptation of denying him-
self a pleasure. A total abstainer is one who  abstains  from  every-
thing  but  abstention, and especially from inactivity in the affairs
of others.                                           - Ambrose Bierce

  reply	other threads:[~2005-02-17 21:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-17 20:36 [U-Boot-Users] memory sizing(440GX) Barbier, Renaud
2005-02-17 21:12 ` Wolfgang Denk [this message]
2005-02-18  7:40   ` Stefan Roese
  -- strict thread matches above, loose matches on Subject: below --
2005-02-17 17:41 Barbier, Renaud
2005-02-17 18:34 ` 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=20050217211255.ECA52C1430@atlas.denx.de \
    --to=wd@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