*
*/
-#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.