85xx: Remove old style of LAW init
[oweals/u-boot.git] / cpu / mpc5xxx / start.S
index a2ac99958a53763e5e15a56a0960363ad1e90178..9b1bd48c7338299dfd98ecd5c4b81b7ddb70db61 100644 (file)
@@ -107,12 +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_LOWBOOT)
-#error CFG_LOWBOOT is incompatible with MGT5100
-#endif /* CFG_LOWBOOT */
+# 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
@@ -208,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
@@ -227,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 */