TQM85xx: fix typo introduce by commit ffbb5cb9
[oweals/u-boot.git] / cpu / mpc86xx / cpu_init.c
index 4f8956e0afe18e7154089e93cdb5d7074f7a252f..78ba1ea8e5aafbfd761456c69aa5f6723dd3e617 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <common.h>
 #include <mpc86xx.h>
+#include <asm/fsl_law.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -49,6 +50,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