AVR32: Split start_u_boot into board_init_f and board_init_r

Split the avr32 initialization code into a function to run before
relocation, board_init_f and a function to run after relocation,
board_init_r. For now, board_init_f simply calls board_init_r
at the end.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
This commit is contained in:
Haavard Skinnemoen
2006-11-18 17:15:30 +01:00
parent 6c9ba91937
commit c841beedde
2 changed files with 12 additions and 6 deletions

View File

@@ -95,7 +95,7 @@ _start:
/* Initialize the GOT pointer */
lddpc r6, got_init
3: rsub r6, pc
ld.w pc, r6[start_u_boot@got]
ld.w pc, r6[board_init_f@got]
.align 2
.type sp_init,@object