From cb01be69a68f3493c52a68bd61200ea5d0445204 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 11 Jan 2006 15:35:34 +0000 Subject: 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 --- firmware/crt0.S | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'firmware/crt0.S') 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: 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 -- cgit v1.2.3