]> git.sur5r.net Git - u-boot/blobdiff - cpu/mpc5xxx/start.S
Merge git://www.denx.de/git/u-boot into uboot
[u-boot] / cpu / mpc5xxx / start.S
index 99cad9c567b54a166eae7e51ee7ab38a04d0cf45..9b1bd48c7338299dfd98ecd5c4b81b7ddb70db61 100644 (file)
@@ -107,9 +107,12 @@ boot_warm:
        /*--------------------------------------------------------------*/
 
 #if defined(CFG_LOWBOOT)
-#if defined(CFG_RAMBOOT)
-#error CFG_LOWBOOT is incompatible with CFG_RAMBOOT
-#endif /* CFG_RAMBOOT */
+# if defined(CFG_RAMBOOT)
+#  error CFG_LOWBOOT is incompatible with CFG_RAMBOOT
+# endif /* CFG_RAMBOOT */
+# if defined(CONFIG_MGT5100)
+#  error CFG_LOWBOOT is incompatible with MGT5100
+# endif /* CONFIG_MGT5100 */
        lis     r4, CFG_DEFAULT_MBAR@h
        lis     r3,     START_REG(CFG_BOOTCS_START)@h
        ori     r3, r3, START_REG(CFG_BOOTCS_START)@l
@@ -205,7 +208,7 @@ _start_of_vectors:
 /* Alignment exception. */
        . = 0x600
 Alignment:
-       EXCEPTION_PROLOG
+       EXCEPTION_PROLOG(SRR0, SRR1)
        mfspr   r4,DAR
        stw     r4,_DAR(r21)
        mfspr   r5,DSISR
@@ -224,7 +227,7 @@ Alignment:
 /* Program check exception */
        . = 0x700
 ProgramCheck:
-       EXCEPTION_PROLOG
+       EXCEPTION_PROLOG(SRR0, SRR1)
        addi    r3,r1,STACK_FRAME_OVERHEAD
        li      r20,MSR_KERNEL
        rlwimi  r20,r23,0,16,16         /* copy EE bit from saved MSR */