summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/SOURCES1
-rw-r--r--firmware/export/timer.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index d7d2b6939d..43d9f9fd06 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -1235,6 +1235,7 @@ target/mips/ingenic_jz47xx/i2c-jz4740.c
target/mips/ingenic_jz47xx/lcd-jz4740.c
target/mips/ingenic_jz47xx/system-jz4740.c
target/mips/ingenic_jz47xx/usb-jz4740.c
+target/mips/ingenic_jz47xx/timer-jz4740.c
#ifndef BOOTLOADER
target/mips/ingenic_jz47xx/codec-jz4740.c
target/mips/ingenic_jz47xx/pcm-jz4740.c
diff --git a/firmware/export/timer.h b/firmware/export/timer.h
index 258ab1767a..27a8ace409 100644
--- a/firmware/export/timer.h
+++ b/firmware/export/timer.h
@@ -34,7 +34,8 @@
#elif CONFIG_CPU == PNX0101
#define TIMER_FREQ 3000000
#elif CONFIG_CPU == S3C2440 || CONFIG_CPU == DM320 || CONFIG_CPU == TCC7801 \
- || defined(CPU_TCC77X) || CONFIG_CPU == AS3525 || CONFIG_CPU == IMX31L
+ || defined(CPU_TCC77X) || CONFIG_CPU == AS3525 || CONFIG_CPU == IMX31L \
+ || CONFIG_CPU == JZ4732
#include "timer-target.h"
#elif defined(SIMULATOR)
#define TIMER_FREQ 1000000