[U-Boot-Users] resume from sleeping for au1x00

14 Oct
2005
14 Oct
'05
5:38 p.m.
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@linux.it
Linux Device Driver giometti@enneenne.com
Embedded Systems home page: giometti.enneenne.com
UNIX programming phone: +39 349 2432127
7145
Age (days ago)
7145
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rodolfo Giometti