X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=board%2Fdbau1x00%2Flowlevel_init.S;h=842fb76e5873e768d0a11b518ecb0aa3a4cacf8a;hb=556751427b9b79266918e87f7399e1a6eea60096;hp=27b51f73f045d81090a65f9792bb0c4eda43df86;hpb=4b7a6dd89633d60dc4b58476d5ce48247f82a3ca;p=karo-tx-uboot.git diff --git a/board/dbau1x00/lowlevel_init.S b/board/dbau1x00/lowlevel_init.S index 27b51f73f0..842fb76e58 100644 --- a/board/dbau1x00/lowlevel_init.S +++ b/board/dbau1x00/lowlevel_init.S @@ -1,7 +1,6 @@ /* Memory sub-system initialization code */ #include -#include #include #include #include @@ -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