summaryrefslogtreecommitdiff
path: root/cpu/at32ap/start.S
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-11-18 17:15:30 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-14 15:20:20 +0200
commitc841beeddebece0039e724fb27f4d1a39ee1c6b6 (patch)
treefcfc4a6879154130b2bfd0167de0cc49554afede /cpu/at32ap/start.S
parent6c9ba919375db977aaad9146bf320c7afd07ae7a (diff)
downloadu-boot-imx-c841beeddebece0039e724fb27f4d1a39ee1c6b6.zip
u-boot-imx-c841beeddebece0039e724fb27f4d1a39ee1c6b6.tar.gz
u-boot-imx-c841beeddebece0039e724fb27f4d1a39ee1c6b6.tar.bz2
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>
Diffstat (limited to 'cpu/at32ap/start.S')
-rw-r--r--cpu/at32ap/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/at32ap/start.S b/cpu/at32ap/start.S
index 79ee33b..4ae0b54 100644
--- a/cpu/at32ap/start.S
+++ b/cpu/at32ap/start.S
@@ -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