public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Daniel Ann <ktdann@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] get_ram_size() returns wrong value
Date: Thu, 7 Apr 2005 13:33:51 +0900	[thread overview]
Message-ID: <9b7ca6570504062133713b09d2@mail.gmail.com> (raw)
In-Reply-To: <20050406132028.4AF62C108D@atlas.denx.de>

On Apr 6, 2005 10:20 PM, Wolfgang Denk <wd@denx.de> wrote:
> Umm.. this seems bogus to me. If the actual size is  !=  MAX_RAM_SIZE
> thenyou  will  have a hole in your mapping; this is not what you want
> to do. See the README how to handle such a situation.

Okay this sounds rather dumb, but I cant seem to find it anywhere in
READMEs. Any hint ?

It looks like values that are defined by CFG_BANKx_START are used way
before initdram is called. And initdram only configures the end
address using the size it got back from get_ram_size. My question is,
looking at board/a3000/a3000.c, is it correct to configure ending
address of bank0 only ?

-- 
Daniel

  reply	other threads:[~2005-04-07  4:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-06 10:18 [U-Boot-Users] get_ram_size() returns wrong value Daniel Ann
2005-04-06 10:42 ` Wolfgang Denk
2005-04-06 12:52   ` Daniel Ann
2005-04-06 13:20     ` Wolfgang Denk
2005-04-07  4:33       ` Daniel Ann [this message]
2005-04-07 22:21         ` Wolfgang Denk
2005-04-06 12:27 ` Jerry Van Baren
2005-04-06 13:05   ` Daniel Ann

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=9b7ca6570504062133713b09d2@mail.gmail.com \
    --to=ktdann@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox