Resume from Power Off

Harald Welte laforge at
Fri Aug 24 10:54:57 CEST 2007

Hi Wally!

On Thu, Aug 23, 2007 at 08:47:30PM -0400, Wally Ritchie wrote:

> Since these two 32 bit registers are the only resource available for
> resume, it seems a bit wasteful to use half of them to store a simple
> vector. Why not just store this in a fixed location in the sleeping
> SDRAM(like the reset vector) and resume from there.  This leaves the
> full 64 bits available for other uses e.g. state bits and counters.

Because this is the standard way of how suspend/resume works in the
mainline linux kernel s3c24xx kernel tree.  And we generally try to
follow those existing mechanisms and not deviate too much, unless we
have a very good reason/requirement to do so.

If you feel that this standard suspend/resume way should change, I
recommend you talk to the S3C24xx architectuure maintainer (Ben Dooks)
and/or the arm-linux-kernel mailinglists.

Sure, we can do some device specific hacks to squeeze more into those
registers.  But at the moment we're still in the way of getting our
product working at all.  "Premature optimization is the root of all evil".

Thanks for your suggestion, though.

- Harald Welte <laforge at>         
Software for the world's first truly open Free Software mobile phone

More information about the openmoko-uboot mailing list