1
0
Fork 0
forked from len0rd/rockbox

H300: set KEEP_ACT before initializing the data sections, otherwise the PCF50606 will time out and power off

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8333 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2006-01-11 15:35:34 +00:00
parent 55d1955a62
commit cb01be69a6

View file

@ -561,6 +561,14 @@ irq_handler:
bhi.b .iramloop
#endif /* !BOOTLOADER */
#ifdef IRIVER_H300_SERIES
/* Set KEEP_ACT before doing the lengthy copy and zero-fill operations */
move.l #0x00080000,%d0
or.l %d0,(0xb4,%a1)
or.l %d0,(0xb8,%a1)
or.l %d0,(0xbc,%a1)
#endif
/* zero out bss */
lea _edata,%a2
lea _end,%a4