diff options
author | Michal Simek <monstr@monstr.eu> | 2007-07-13 21:43:55 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2007-07-13 21:43:55 +0200 |
commit | a476ca2ac2217ddd05a2bf0c514075814b10a3c0 (patch) | |
tree | 010ed18e9b8f5c76cb277bdc2acbc3f5aa0e9b6d /cpu/microblaze | |
parent | 55e26ad62107d2f14f757de3ae0b14b9aa7aed94 (diff) | |
download | u-boot-imx-a476ca2ac2217ddd05a2bf0c514075814b10a3c0.zip u-boot-imx-a476ca2ac2217ddd05a2bf0c514075814b10a3c0.tar.gz u-boot-imx-a476ca2ac2217ddd05a2bf0c514075814b10a3c0.tar.bz2 |
[PATCH] Remove problem with disabled BARREL SHIFTER
Diffstat (limited to 'cpu/microblaze')
-rw-r--r-- | cpu/microblaze/start.S | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpu/microblaze/start.S b/cpu/microblaze/start.S index 3c027ff..8740284 100644 --- a/cpu/microblaze/start.S +++ b/cpu/microblaze/start.S @@ -33,15 +33,13 @@ _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, 0xb000 /* hex b000 opcode imm */ - bslli r6, r6, 16 /* shift */ + addi r6, r0, 0xb0000000 /* hex b000 opcode imm */ 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, 0xb808 /* hew b808 opcode brai*/ - bslli r6, r6, 16 + addi r6, r0, 0xb8080000 /* hew b808 opcode brai*/ swi r6, r0, 0x4 /* reset address */ swi r6, r0, 0xC /* user vector exception */ swi r6, r0, 0x14 /* interrupt */ |