mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-28 02:31:54 +00:00
Remove unused code
This commit is contained in:
parent
b7727f6595
commit
1391f5f8b5
39
src/start.S
39
src/start.S
@ -169,26 +169,6 @@ _fiq: .word fiq
|
|||||||
.balignl 16,0xdeadbeef
|
.balignl 16,0xdeadbeef
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
*************************************************************************
|
|
||||||
*
|
|
||||||
* Startup Code (reset vector)
|
|
||||||
*
|
|
||||||
* do important init only if we don't start from memory!
|
|
||||||
* relocate armboot to ram
|
|
||||||
* setup stack
|
|
||||||
* jump to second stage
|
|
||||||
*
|
|
||||||
*************************************************************************
|
|
||||||
*/
|
|
||||||
|
|
||||||
_TEXT_BASE:
|
|
||||||
.word TEXT_BASE
|
|
||||||
|
|
||||||
.globl _armboot_start
|
|
||||||
_armboot_start:
|
|
||||||
.word _start
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* These are defined in the board-specific linker script.
|
* These are defined in the board-specific linker script.
|
||||||
*/
|
*/
|
||||||
@ -200,25 +180,10 @@ _bss_start:
|
|||||||
_bss_end:
|
_bss_end:
|
||||||
.word _end
|
.word _end
|
||||||
|
|
||||||
_start_armboot: .word main
|
|
||||||
|
|
||||||
_system_stack:
|
_system_stack:
|
||||||
. = . + usr_stack_size + irq_stack_size + fiq_stack_size + und_stack_size + abt_stack_size + sup_stack_size
|
. = . + usr_stack_size + irq_stack_size + fiq_stack_size + und_stack_size + abt_stack_size + sup_stack_size
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
*************************************************************************
|
|
||||||
*
|
|
||||||
* CPU_init_critical registers
|
|
||||||
*
|
|
||||||
*************************************************************************
|
|
||||||
*/
|
|
||||||
|
|
||||||
cpu_init_crit:
|
|
||||||
# actually do nothing for now!
|
|
||||||
mov pc, lr
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* exception handlers
|
* exception handlers
|
||||||
*/
|
*/
|
||||||
@ -245,7 +210,3 @@ not_used:
|
|||||||
fiq:
|
fiq:
|
||||||
|
|
||||||
.align 5
|
.align 5
|
||||||
|
|
||||||
.globl reset_cpu
|
|
||||||
reset_cpu:
|
|
||||||
mov pc, r0
|
|
||||||
|
Loading…
Reference in New Issue
Block a user