From: Stefan Roese <stefan.roese@esd-electronics.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] A question about sdram_init
Date: Fri, 14 May 2004 10:15:47 +0200 [thread overview]
Message-ID: <003701c4398b$a956c550$0212000a@PCSTEFAN> (raw)
In-Reply-To: <20040514073645.1578BC108D@atlas.denx.de>
Hello Frank!
> Sorry, wrong function name. I've corrected in the second
> post. The problem
> happens in cpu/ppc4xx/sdram.c -> sdram_init().
OK. I wrote this code, so here a few comments.
We are using this code on a least 10 different PPC405 boards without any
problems (even with 4 Mbytes of SDRAM).
When you stripped the code to 3 lines only you probably missed those
lines:
...
mtsdram0(mem_sdtr1, sdtr1);
mtsdram0(mem_rtr, rtr);
Some of the sdram regs don't get initialized at all with your code! This
could cause serious problems!
Some further questions:
Why did you change the code in the first place?
You speak of 8MBytes of SDRAM. Do you have 2 banks each 4MByte? This
code only supports the first bank.
Best regards,
Stefan Roese
next prev parent reply other threads:[~2004-05-14 8:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-14 2:55 [U-Boot-Users] U-Boot on LH7A400 Devraj Mukherjee
2004-05-14 7:36 ` Wolfgang Denk
2004-05-14 8:15 ` Stefan Roese [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-05-14 0:22 [U-Boot-Users] A question about sdram_init Frank Young
2004-05-14 7:35 ` Wolfgang Denk
2004-05-13 23:12 Frank Young
2004-05-13 23:39 ` Wolfgang Denk
2004-05-13 18:54 Frank Young
2004-05-13 19:27 ` 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='003701c4398b$a956c550$0212000a@PCSTEFAN' \
--to=stefan.roese@esd-electronics.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.