]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
[FIX] resolve problem with cpu without barrel shifter
authorMichal Simek <monstr@monstr.eu>
Sun, 23 Sep 2007 22:19:48 +0000 (00:19 +0200)
committerMichal Simek <monstr@monstr.eu>
Sun, 23 Sep 2007 22:19:48 +0000 (00:19 +0200)
cpu/microblaze/start.S

index 3c027ff9bb1c21eced03fa62e606d5c1f624ba70..8740284ad844d5d239828aeaf449329eb908ad16 100644 (file)
@@ -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 */