From: Kenneth Johansson <kenneth@southpole.se>
To: u-boot@lists.denx.de
Subject: [U-Boot] hi, I could not understand the memsize.c, somebody help me?
Date: Fri, 24 Jul 2009 17:21:21 +0200 [thread overview]
Message-ID: <1248448881.8967.24.camel@localhost.localdomain> (raw)
In-Reply-To: <1BD5CFC378ED0946B688E0C9BA2EF09512A271@zin33exm24.fsl.freescale.net>
On Fri, 2009-07-24 at 20:01 +0530, Aggrwal Poonam-B10812 wrote:
> > > I could not understand common/memsize.c, how it works?
> >
> > It writes markers at specific memory locations and then reads
> > these back. The algorithm is chosen to be fast but still to
> > be able to detect mirrored address ranges and other memory errors.
> Suppose I configure MAX_MEM)SIZE as 1Gig and the actual memory on the
> board is 512M, is this function supposed to return 512M?
Yes in this case but if you had 384M it would have returned 256M.
prev parent reply other threads:[~2009-07-24 15:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-25 3:14 [U-Boot] hi, I could not understand the memsize.c, somebody help me? IaMaPlAyEr
2009-06-25 12:56 ` Detlev Zundel
2009-06-29 8:54 ` IaMaPlAyEr
2009-06-29 11:54 ` Detlev Zundel
2009-06-30 2:53 ` IaMaPlAyEr
2009-06-30 13:50 ` Detlev Zundel
2009-07-24 6:11 ` Wolfgang Denk
2009-07-24 14:31 ` Aggrwal Poonam-B10812
2009-07-24 15:13 ` Detlev Zundel
2009-07-24 15:21 ` Kenneth Johansson [this message]
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=1248448881.8967.24.camel@localhost.localdomain \
--to=kenneth@southpole.se \
--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