mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu/arm7_common: Removed dead code
- Functions bl_uart_init(), bl_blink(), bl_config_init() declared but never implemented --> Removed declarations - Check for c preprocessor macro CPU_MC1322X is obsolete, as CPU_MC1322X is nowhere defined in RIOT's code base - IRQ_Routine() is never used, nor is it ever configured as ISR - DEBUG_Routine() is never used, nor is it ever configured as ISR
This commit is contained in:
parent
47b0b87d48
commit
952e4a968b
@ -34,12 +34,6 @@ void FIQ_Routine(void) __attribute__((interrupt("FIQ")));
|
||||
//void SWI_Routine (void) __attribute__((interrupt("SWI")));
|
||||
void UNDEF_Routine(void) __attribute__((interrupt("UNDEF")));
|
||||
|
||||
void IRQ_Routine(void)
|
||||
{
|
||||
LOG_ERROR("Kernel Panic,\nEarly IRQ call\n");
|
||||
|
||||
while (1) {};
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
void FIQ_Routine(void)
|
||||
{
|
||||
@ -55,13 +49,6 @@ void SWI_Routine(void)
|
||||
while (1) {};
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
void DEBUG_Routine(void)
|
||||
{
|
||||
LOG_ERROR("DEBUG hit.");
|
||||
|
||||
while (1) {};
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
volatile int arm_abortflag = 0;
|
||||
|
||||
void abtorigin(const char *vector, unsigned long *lnk_ptr1)
|
||||
@ -164,19 +151,14 @@ bl_init_data(void)
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
void bootloader(void)
|
||||
{
|
||||
extern void bl_uart_init(void);
|
||||
extern void bl_init_ports(void);
|
||||
extern void bl_init_clks(void);
|
||||
extern void bl_blink(void);
|
||||
extern void bl_config_init(void);
|
||||
|
||||
/* board specific setup of clocks */
|
||||
bl_init_clks();
|
||||
|
||||
/* initialize bss and data */
|
||||
#ifndef CPU_MC1322X
|
||||
bl_init_data();
|
||||
#endif
|
||||
|
||||
/* board specific setup of i/o pins */
|
||||
bl_init_ports();
|
||||
|
@ -33,7 +33,6 @@
|
||||
.extern sched_active_thread
|
||||
.extern sched_context_switch_request
|
||||
.extern sched_run
|
||||
.extern DEBUG_Routine
|
||||
|
||||
/* Public functions declared in this file */
|
||||
.global arm_irq_handler
|
||||
|
Loading…
Reference in New Issue
Block a user