Rename CLOCK_FREQ macro to CPU_FREQ: now clock frequency has to be set in the makefile.
[bertos.git] / bertos / cpu / arm / hw / crtat91sam7_rom.S
index 0857795b2556ba4dc977cff198d78c24b98f33b3..5addc38a4c5663aec866ca3565a7117312acf16a 100644 (file)
  *
  */
 
-#include "hw/hw_cpu.h"
 #include <cpu/detect.h>
 #include "cfg/cfg_arch.h"
 
 
-#if CLOCK_FREQ != 48023000L
+#if CPU_FREQ != 48023000L
        /* Avoid errors on nightly test */
        #if !defined(ARCH_NIGHTTEST) || !(ARCH & ARCH_NIGHTTEST)
                #error Clock registers set for 48MHz operation, revise following code if you want a different clock.