diff options
Diffstat (limited to 'firmware/target/arm/tcc780x/system-tcc780x.c')
-rw-r--r-- | firmware/target/arm/tcc780x/system-tcc780x.c | 8 |
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 @@ | |||
23 | #include "system.h" | 23 | #include "system.h" |
24 | #include "panic.h" | 24 | #include "panic.h" |
25 | 25 | ||
26 | #if !defined(BOOTLOADER) | ||
27 | |||
28 | #define default_interrupt(name) \ | 26 | #define default_interrupt(name) \ |
29 | extern __attribute__((weak,alias("UIRQ"))) void name (void) | 27 | extern __attribute__((weak,alias("UIRQ"))) void name (void) |
30 | 28 | ||
@@ -144,8 +142,6 @@ void irq_handler(void) | |||
144 | "subs pc, lr, #4 \n"); /* Return from IRQ */ | 142 | "subs pc, lr, #4 \n"); /* Return from IRQ */ |
145 | } | 143 | } |
146 | 144 | ||
147 | #endif /* !defined(BOOTLOADER) */ | ||
148 | |||
149 | 145 | ||
150 | /* TODO - these should live in the target-specific directories and | 146 | /* TODO - these should live in the target-specific directories and |
151 | once we understand what all the GPIO pins do, move the init to the | 147 | once we understand what all the GPIO pins do, move the init to the |
@@ -254,8 +250,6 @@ void system_init(void) | |||
254 | /* mask all interrupts */ | 250 | /* mask all interrupts */ |
255 | IEN = 0; | 251 | IEN = 0; |
256 | 252 | ||
257 | #if !defined(BOOTLOADER) | ||
258 | |||
259 | /* Set DAI interrupts as FIQ, all others are IRQ. */ | 253 | /* Set DAI interrupts as FIQ, all others are IRQ. */ |
260 | IRQSEL = ~(DAI_RX_IRQ_MASK | DAI_TX_IRQ_MASK); | 254 | IRQSEL = ~(DAI_RX_IRQ_MASK | DAI_TX_IRQ_MASK); |
261 | 255 | ||
@@ -272,8 +266,6 @@ void system_init(void) | |||
272 | } | 266 | } |
273 | 267 | ||
274 | ALLMASK = 3; /* Global FIQ/IRQ unmask */ | 268 | ALLMASK = 3; /* Global FIQ/IRQ unmask */ |
275 | |||
276 | #endif /* !defined(BOOTLOADER) */ | ||
277 | 269 | ||
278 | gpio_init(); | 270 | gpio_init(); |
279 | clock_init(); | 271 | clock_init(); |