mpc86xx: Use SRR0/1/rfi to enable address translation, not blr
[oweals/u-boot.git] / cpu / mpc86xx / cpu_init.c
index 06f179c0937073195012400a19245c7ef85aa7b5..a7e6036dbeca27be52de6efa4095d24b4c58365f 100644 (file)
@@ -33,6 +33,8 @@
 #include <asm/fsl_law.h>
 #include "mp.h"
 
+void setup_bats(void);
+
 DECLARE_GLOBAL_DATA_PTR;
 
 /*
@@ -57,6 +59,8 @@ void cpu_init_f(void)
        init_laws();
 #endif
 
+       setup_bats();
+
        /* Map banks 0 and 1 to the FLASH banks 0 and 1 at preliminary
         * addresses - these have to be modified later when FLASH size
         * has been determined