summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/socfpga
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-04-15 16:13:51 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-05-15 16:24:53 +0200
commit41623c91b09a0c865fab41acdaff30f060f29ad6 (patch)
treebe63a8504f3d6bcaf9789ab23e933bb083b827d7 /arch/arm/cpu/armv7/socfpga
parent60a4f39fcd0d845741b4aaf9764bf54d6abef60c (diff)
downloadblackbird-obmc-uboot-41623c91b09a0c865fab41acdaff30f060f29ad6.tar.gz
blackbird-obmc-uboot-41623c91b09a0c865fab41acdaff30f060f29ad6.zip
arm: move exception handling out of start.S files
Exception handling is basically identical for all ARM targets. Factorize it out of the various start.S files and into a single vectors.S file, and adjust linker scripts accordingly. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'arch/arm/cpu/armv7/socfpga')
-rw-r--r--arch/arm/cpu/armv7/socfpga/lowlevel_init.S15
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/arm/cpu/armv7/socfpga/lowlevel_init.S b/arch/arm/cpu/armv7/socfpga/lowlevel_init.S
index 1caaa2759f..2f2e9fcc7c 100644
--- a/arch/arm/cpu/armv7/socfpga/lowlevel_init.S
+++ b/arch/arm/cpu/armv7/socfpga/lowlevel_init.S
@@ -10,20 +10,7 @@
/* Save the parameter pass in by previous boot loader */
.global save_boot_params
save_boot_params:
- /* save the parameter here */
-
- /*
- * Setup stack for exception, which is located
- * at the end of on-chip RAM. We don't expect exception prior to
- * relocation and if that happens, we won't worry -- it will overide
- * global data region as the code will goto reset. After relocation,
- * this region won't be used by other part of program.
- * Hence it is safe.
- */
- ldr r0, =(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_RAM_SIZE)
- ldr r1, =IRQ_STACK_START_IN
- str r0, [r1]
-
+ /* no parameter to save */
bx lr
OpenPOWER on IntegriCloud