]> git.sur5r.net Git - u-boot/blobdiff - cpu/mpc86xx/cpu_init.c
Merge ../custodians
[u-boot] / cpu / mpc86xx / cpu_init.c
index 4f8956e0afe18e7154089e93cdb5d7074f7a252f..ab5906dbc0a230b60cc9ef60323c1b1086fa465e 100644 (file)
@@ -49,6 +49,10 @@ void cpu_init_f(void)
        /* Clear initial global data */
        memset ((void *) gd, 0, sizeof (gd_t));
 
+#ifdef CONFIG_FSL_LAW
+       init_laws();
+#endif
+
        /* 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
@@ -114,5 +118,8 @@ void cpu_init_f(void)
  */
 int cpu_init_r(void)
 {
+#ifdef CONFIG_FSL_LAW
+       disable_law(0);
+#endif
        return 0;
 }