summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/timer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/timer.h b/firmware/export/timer.h
index b758f57ae5..f3faf0908e 100644
--- a/firmware/export/timer.h
+++ b/firmware/export/timer.h
@@ -31,11 +31,13 @@
#elif CONFIG_CPU == S3C2440 || CONFIG_CPU == DM320 || CONFIG_CPU == TCC7801 \
|| defined(CPU_TCC77X) || CONFIG_CPU == AS3525 || CONFIG_CPU == IMX31L \
|| CONFIG_CPU == JZ4732 || CONFIG_CPU == PNX0101 \
- || defined(CPU_COLDFIRE)
+ || defined(CPU_COLDFIRE) || CONFIG_CPU == SH7034
#include "timer-target.h"
#elif defined(SIMULATOR)
#define TIMER_FREQ 1000000
-#else
+#endif
+
+#ifndef TIMER_FREQ
#define TIMER_FREQ CPU_FREQ
#endif
bool timer_register(int reg_prio, void (*unregister_callback)(void),