]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/dbau1x00/lowlevel_init.S
imported Freescale specific U-Boot additions for i.MX28,... release L2.6.31_10.08.01
[karo-tx-uboot.git] / board / dbau1x00 / lowlevel_init.S
index 14a78465f3659a0420bc18e42c3a5b85e2243315..842fb76e5873e768d0a11b518ecb0aa3a4cacf8a 100755 (executable)
@@ -1,7 +1,6 @@
 /* Memory sub-system initialization code */
 
 #include <config.h>
-#include <version.h>
 #include <asm/regdef.h>
 #include <asm/au1x00.h>
 #include <asm/mipsregs.h>
@@ -9,8 +8,8 @@
 #define AU1500_SYS_ADDR                0xB1900000
 #define sys_endian             0x0038
 #define CP0_Config0            $16
-#define CPU_SCALE              ((CFG_MHZ) / 12) /* CPU clock is a multiple of 12 MHz */
-#define MEM_1MS                        ((CFG_MHZ) * 1000)
+#define CPU_SCALE              ((CONFIG_SYS_MHZ) / 12) /* CPU clock is a multiple of 12 MHz */
+#define MEM_1MS                        ((CONFIG_SYS_MHZ) * 1000)
 
        .text
        .set noreorder
@@ -586,5 +585,5 @@ noCacheJump:
        sw      t1, 0(t0)
        sync
 
-       j       ra
+       jr      ra
        nop