All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] resume from sleeping for au1x00
@ 2005-10-14 15:38 Rodolfo Giometti
  0 siblings, 0 replies; only message in thread
From: Rodolfo Giometti @ 2005-10-14 15:38 UTC (permalink / raw)
  To: u-boot

Hello,

someone are using u-boot to resume from sleeping with au1x00 MIPS
processor?

I'm just looking at linux code into file
arch/mips/au1000/common/sleeper.S. The function save_and_sleep() does:

        /* Now set up the scratch registers so the boot rom will
         * return to this point upon wakeup.
         */
        la      k0, 1f
        lui     k1, 0xb190
        ori     k1, 0x18
        sw      sp, 0(k1)
        ori     k1, 0x1c
        sw      k0, 0(k1)

so I suppose that, at wake up, these ?scratch registers? can be used
by u-boot to restart at correct location... is that right? :-o

Thanks in advance,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at linux.it
Linux Device Driver                             giometti at enneenne.com
Embedded Systems                     home page: giometti.enneenne.com
UNIX programming                     phone:     +39 349 2432127

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-14 15:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-14 15:38 [U-Boot-Users] resume from sleeping for au1x00 Rodolfo Giometti

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.