From 782e2370e8022b0654edd6d1dbff67b10e6eeceb Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Thu, 17 Jul 2003 20:19:01 +0000 Subject: when rebooting, de-init such that the coldstart detection would kick in again (fixes Rombox ATA problems when shutting off with charger) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3840 a1c6a512-1295-4272-9138-f99709370657 --- firmware/system.c | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/system.c b/firmware/system.c index 1d5bb21ff6..056d7eb162 100644 --- a/firmware/system.c +++ b/firmware/system.c @@ -306,6 +306,7 @@ void system_reboot (void) asm volatile ("ldc\t%0,vbr" : : "r"(0)); + PACR2 |= 0x4000; /* for coldstart detection */ IPRA = 0; IPRB = 0; IPRC = 0; -- cgit v1.2.3