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:
parent
55d1955a62
commit
cb01be69a6
1 changed files with 8 additions and 0 deletions
|
@ -561,6 +561,14 @@ irq_handler:
|
||||||
bhi.b .iramloop
|
bhi.b .iramloop
|
||||||
#endif /* !BOOTLOADER */
|
#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 */
|
/* zero out bss */
|
||||||
lea _edata,%a2
|
lea _edata,%a2
|
||||||
lea _end,%a4
|
lea _end,%a4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue