summaryrefslogtreecommitdiff
path: root/firmware/crt0.S
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-01-11 15:35:34 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-01-11 15:35:34 +0000
commitcb01be69a68f3493c52a68bd61200ea5d0445204 (patch)
tree29221c16c49c9eeecf8f969bbc939066bcece56b /firmware/crt0.S
parent55d1955a624f781d5d5263ecc9af018e6e26f273 (diff)
downloadrockbox-cb01be69a68f3493c52a68bd61200ea5d0445204.tar.gz
rockbox-cb01be69a68f3493c52a68bd61200ea5d0445204.zip
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
Diffstat (limited to 'firmware/crt0.S')
-rw-r--r--firmware/crt0.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/crt0.S b/firmware/crt0.S
index 9dad41944a..0e75195530 100644
--- a/firmware/crt0.S
+++ b/firmware/crt0.S
@@ -561,6 +561,14 @@ irq_handler:
561 bhi.b .iramloop 561 bhi.b .iramloop
562#endif /* !BOOTLOADER */ 562#endif /* !BOOTLOADER */
563 563
564#ifdef IRIVER_H300_SERIES
565 /* Set KEEP_ACT before doing the lengthy copy and zero-fill operations */
566 move.l #0x00080000,%d0
567 or.l %d0,(0xb4,%a1)
568 or.l %d0,(0xb8,%a1)
569 or.l %d0,(0xbc,%a1)
570#endif
571
564 /* zero out bss */ 572 /* zero out bss */
565 lea _edata,%a2 573 lea _edata,%a2
566 lea _end,%a4 574 lea _end,%a4