From 6c7f1b47248745511987036b3aa20b5055c39c22 Mon Sep 17 00:00:00 2001 From: theStack Date: Fri, 4 Sep 2009 01:54:33 +0200 Subject: [PATCH] just commented out unneeded line in irq init due to the fact that (HW_PPCIRQMASK+0x04 == HW_ARMIRQFLAG), that write concerns arm irqs and is thus not needed here. besides that, writing 0 to a flag register seems to be senseless anyway (what have mini people done here? :P). --- irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irq.c b/irq.c index da2456b..7288be0 100644 --- a/irq.c +++ b/irq.c @@ -31,7 +31,7 @@ void irq_initialize(void) //??? -- needed?! - write32(HW_PPCIRQMASK+0x04, 0); + //write32(HW_ARMIRQFLAG, 0); // this does nothing? write32(HW_PPCIRQMASK+0x20, 0); _CPU_ISR_Enable() -- 2.25.1