]> git.sur5r.net Git - u-boot/blobdiff - board/dbau1x00/lowlevel_init.S
MIPS: au1x00: move SoC header files to arch/mips/mach-au1x00/include/mach/
[u-boot] / board / dbau1x00 / lowlevel_init.S
index 27b51f73f045d81090a65f9792bb0c4eda43df86..409f8ee47701a3efe710cb190561deb13f95cf2c 100644 (file)
@@ -1,16 +1,15 @@
 /* Memory sub-system initialization code */
 
 #include <config.h>
-#include <version.h>
+#include <mach/au1x00.h>
 #include <asm/regdef.h>
-#include <asm/au1x00.h>
 #include <asm/mipsregs.h>
 
 #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