From 5bef735cf5abcc3358cdd867f41ac423d04c0d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Thu, 6 Nov 2008 15:46:22 +0000 Subject: [PATCH] AS3525: disable interrupts init_threads() requires that they are disabled when called anyway they are not needed at the moment, so leave them disabled git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19029 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/system-as3525.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index 05c9b200a2..544371e5a4 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c @@ -215,7 +215,7 @@ void system_init(void) asm volatile( "mrs r0, cpsr \n" - "bic r0, r0, #0x80 \n" /* enable interrupts */ + "orr r0, r0, #0x80 \n" /* disable interrupts */ "msr cpsr, r0 \n" "mov r0, #0 \n" "mcr p15, 0, r0, c7, c7 \n" /* invalidate icache & dcache */