summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tcc780x/system-tcc780x.c
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2009-06-24 07:37:11 +0000
committerRob Purchase <shotofadds@rockbox.org>2009-06-24 07:37:11 +0000
commitf62388f82c1a3cbc5e47c8e002abb5a514e9251b (patch)
tree5fc6d6af526ca3ac3119104048b3c05cf185e191 /firmware/target/arm/tcc780x/system-tcc780x.c
parent5e24a2c98c9a7eb1b725c9bbb0233f9cf82004fb (diff)
TCC78x: Enable interrupts/threading in the bootloader (required now that the storage driver yields).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21486 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tcc780x/system-tcc780x.c')
-rw-r--r--firmware/target/arm/tcc780x/system-tcc780x.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/target/arm/tcc780x/system-tcc780x.c b/firmware/target/arm/tcc780x/system-tcc780x.c
index ab8a6cf218..6362f17f71 100644
--- a/firmware/target/arm/tcc780x/system-tcc780x.c
+++ b/firmware/target/arm/tcc780x/system-tcc780x.c
@@ -23,8 +23,6 @@
#include "system.h"
#include "panic.h"
-#if !defined(BOOTLOADER)
-
#define default_interrupt(name) \
extern __attribute__((weak,alias("UIRQ"))) void name (void)
@@ -144,8 +142,6 @@ void irq_handler(void)
"subs pc, lr, #4 \n"); /* Return from IRQ */
}
-#endif /* !defined(BOOTLOADER) */
-
/* TODO - these should live in the target-specific directories and
once we understand what all the GPIO pins do, move the init to the
@@ -254,8 +250,6 @@ void system_init(void)
/* mask all interrupts */
IEN = 0;
-#if !defined(BOOTLOADER)
-
/* Set DAI interrupts as FIQ, all others are IRQ. */
IRQSEL = ~(DAI_RX_IRQ_MASK | DAI_TX_IRQ_MASK);
@@ -272,8 +266,6 @@ void system_init(void)
}
ALLMASK = 3; /* Global FIQ/IRQ unmask */
-
-#endif /* !defined(BOOTLOADER) */
gpio_init();
clock_init();