MIPS: Map CM Global Control Registers
[oweals/u-boot.git] / arch / mips / cpu / start.S
index 6f1d2192b0d30944441112bda2deb6eb0f02aa8a..c157d03d314f67dad89ead4e55fe82f2ec20912c 100644 (file)
@@ -141,6 +141,12 @@ reset:
 1:
        PTR_L   gp, 0(ra)
 
+#ifdef CONFIG_MIPS_CM
+       PTR_LA  t9, mips_cm_map
+       jalr    t9
+        nop
+#endif
+
 #ifndef CONFIG_SKIP_LOWLEVEL_INIT
 # ifdef CONFIG_SYS_MIPS_CACHE_INIT_RAM_LOAD
        /* Initialize any external memory */