summaryrefslogtreecommitdiff
path: root/cpu/at32ap/entry.S
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-11-20 15:53:10 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-14 15:20:27 +0200
commit1f4f2121c2685182eb87fa9a9b799d1917387a1c (patch)
tree0382acf54d9e4c1eb039bd97cd4dc37004a5aa96 /cpu/at32ap/entry.S
parentdf548d3c3e2bbc40258713167859ffc2ce99a900 (diff)
downloadu-boot-imx-1f4f2121c2685182eb87fa9a9b799d1917387a1c.zip
u-boot-imx-1f4f2121c2685182eb87fa9a9b799d1917387a1c.tar.gz
u-boot-imx-1f4f2121c2685182eb87fa9a9b799d1917387a1c.tar.bz2
AVR32: Relocate u-boot to SDRAM
Relocate the u-boot image into SDRAM like everyone else does. This means that we can handle much larger .data and .bss than we used to. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'cpu/at32ap/entry.S')
-rw-r--r--cpu/at32ap/entry.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu/at32ap/entry.S b/cpu/at32ap/entry.S
index b52d798..a6fc688 100644
--- a/cpu/at32ap/entry.S
+++ b/cpu/at32ap/entry.S
@@ -42,8 +42,7 @@ timer_interrupt_handler:
* We're running at interrupt level 3, so we don't need to save
* r8-r12 or lr to the stack.
*/
- mov r8, lo(timer_overflow)
- orh r8, hi(timer_overflow)
+ lda.w r8, timer_overflow
ld.w r9, r8[0]
mov r10, -1
mtsr SYSREG_COMPARE, r10