From: Fabian Cenedese <Cenedese@indel.ch>
To: u-boot@lists.denx.de
Subject: [U-Boot] Full amount of sdram
Date: Mon, 30 May 2011 11:34:02 +0200 [thread overview]
Message-ID: <5.2.0.9.1.20110530112741.04903dc0@localhost> (raw)
Hi
I'm trying to get the full size of the sdram, not the available size
as in gd->ram_size. We use a P2020 so I'm looking in the fsl_
code.
I tried it with fsl_ddr_sdram_size() which from the comment should
just return the size and don't do anything else. However this is
already called in the u-boot code while setting up the correct
parameters. Calling it a second time results in a crash in
populate_memctl_options.
- Should this work or do I need to skip these steps and call
fsl_ddr_compute(&info, STEP_COMPUTE_REGS, 1);
myself? Can I include these function?
- Is there another (vendor independent) way to get the full sdram
size?
Thanks
bye Fabi
reply other threads:[~2011-05-30 9:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=5.2.0.9.1.20110530112741.04903dc0@localhost \
--to=cenedese@indel.ch \
--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