From 0a643b8d9085f96e0c8ea267c12d634e2addf572 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Sun, 22 Apr 2007 11:30:32 +0000 Subject: Fix some very probable typo's. CPU_INT_STAT is at 0x60004000, not 0x64004000. CPU_HI_INT_STAT is at 0x60004100, not 0x64004100. Fix wrong IRQ CLR addresses being used by system_init(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13238 a1c6a512-1295-4272-9138-f99709370657 --- firmware/system.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'firmware/system.c') diff --git a/firmware/system.c b/firmware/system.c index 921a7d2314..e4b11e8b79 100644 --- a/firmware/system.c +++ b/firmware/system.c @@ -395,13 +395,13 @@ void system_init(void) ipod_hw_rev = (*((volatile unsigned long*)(0x01fffffc))); /* disable all irqs */ - outl(-1, 0x60001138); - outl(-1, 0x60001128); - outl(-1, 0x6000111c); - - outl(-1, 0x60001038); - outl(-1, 0x60001028); - outl(-1, 0x6000101c); + COP_HI_INT_CLR = -1; + CPU_HI_INT_CLR = -1; + HI_INT_FORCED_CLR = -1; + + COP_INT_CLR = -1; + CPU_INT_CLR = -1; + INT_FORCED_CLR = -1; # if NUM_CORES > 1 && defined(HAVE_ADJUSTABLE_CPU_FREQ) spinlock_init(&boostctrl_mtx); -- cgit v1.2.3