just commented out unneeded line in irq init
authortheStack <sebastian.falbesoner@gmail.com>
Thu, 3 Sep 2009 23:54:33 +0000 (01:54 +0200)
committertheStack <sebastian.falbesoner@gmail.com>
Thu, 3 Sep 2009 23:54:33 +0000 (01:54 +0200)
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

diff --git a/irq.c b/irq.c
index da2456b7084e9e6361fbf47a7ab9113e5252bc11..7288be0224a890c9058ac3b70e8dc7ff2c7d9334 100644 (file)
--- 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()