diff options
author | Michal Simek <monstr@monstr.eu> | 2007-09-24 00:08:37 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2007-09-24 00:08:37 +0200 |
commit | b90c045f035c3cc9b5d2edaed6048dfb74e40763 (patch) | |
tree | ee69b8872cf8c295a48244280c82d98e191111ab /cpu/microblaze/start.S | |
parent | 6b6f287a33ae8c340f97fb08ed95b6687e2baa4b (diff) | |
download | u-boot-imx-b90c045f035c3cc9b5d2edaed6048dfb74e40763.zip u-boot-imx-b90c045f035c3cc9b5d2edaed6048dfb74e40763.tar.gz u-boot-imx-b90c045f035c3cc9b5d2edaed6048dfb74e40763.tar.bz2 |
synchronizition with mainline
Diffstat (limited to 'cpu/microblaze/start.S')
-rw-r--r-- | cpu/microblaze/start.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpu/microblaze/start.S b/cpu/microblaze/start.S index 8740284..3c027ff 100644 --- a/cpu/microblaze/start.S +++ b/cpu/microblaze/start.S @@ -33,13 +33,15 @@ _start: addi r1, r0, CFG_INIT_SP_OFFSET addi r1, r1, -4 /* Decrement SP to top of memory */ /* add opcode instruction for 32bit jump - 2 instruction imm & brai*/ - addi r6, r0, 0xb0000000 /* hex b000 opcode imm */ + addi r6, r0, 0xb000 /* hex b000 opcode imm */ + bslli r6, r6, 16 /* shift */ swi r6, r0, 0x0 /* reset address */ swi r6, r0, 0x8 /* user vector exception */ swi r6, r0, 0x10 /* interrupt */ swi r6, r0, 0x20 /* hardware exception */ - addi r6, r0, 0xb8080000 /* hew b808 opcode brai*/ + addi r6, r0, 0xb808 /* hew b808 opcode brai*/ + bslli r6, r6, 16 swi r6, r0, 0x4 /* reset address */ swi r6, r0, 0xC /* user vector exception */ swi r6, r0, 0x14 /* interrupt */ |