* [U-Boot-Users] PXA resume
@ 2004-05-27 8:00 Matej Kupljen
0 siblings, 0 replies; only message in thread
From: Matej Kupljen @ 2004-05-27 8:00 UTC (permalink / raw)
To: u-boot
Hi
I've implemented resume into the U-Boot which can resume Linux from
sleep, but I have a "strange bug". Maybe someone have seen this and
can help me.
We have two identical development boards, the only difference is the
amount of SDRAM on board. One has 32MB and the other one has 64 MB
of SDRAM. When configuring the memory controller the code checks the
value of the DIP switch on board and configures the memory controller
for 32 MB or 64 MB of SDRAM. The difference between those configurations
is, that when configuring for 64 MB I have to turn on the SA1111
addressing (in the MDCNFG), the refresh interval and the number of
row address bits.
I can resume the board with the 32 MB, but cannot resume the board
with the 64 MB. If I add a single NOP instruction (or any other
instruction, like LDR, MOV, ...) before (or just after) the code
that reads the value of the DIP switch, I can resume the board with
64 MB and not the board with 32 MB.
I have attached the memsetup.S.
What might be wrong?
Regards,
Matej
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memsetup.S
Type: text/x-asm
Size: 10159 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040527/600ce22d/attachment.bin
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-27 8:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-27 8:00 [U-Boot-Users] PXA resume Matej Kupljen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox