summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/system-target.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/system-target.h b/firmware/target/arm/imx31/gigabeat-s/system-target.h
index 6438cde329..f25702eb4e 100644
--- a/firmware/target/arm/imx31/gigabeat-s/system-target.h
+++ b/firmware/target/arm/imx31/gigabeat-s/system-target.h
@@ -24,7 +24,12 @@
24#include "system-arm.h" 24#include "system-arm.h"
25#include "mmu-arm.h" 25#include "mmu-arm.h"
26 26
27#define CPUFREQ_NORMAL 532000000 27#ifndef HAVE_ADJUSTABLE_CPU_FREQ
28/* TODO: implement CPU frequency scaling */
29#define CPUFREQ_DEFAULT CPU_FREQ
30#define CPUFREQ_NORMAL CPU_FREQ
31#define CPUFREQ_MAX CPU_FREQ
32#endif
28 33
29#if 0 34#if 0
30static inline void udelay(unsigned int usecs) 35static inline void udelay(unsigned int usecs)
@@ -49,7 +54,7 @@ static inline void invalidate_icache(void)
49 asm volatile( 54 asm volatile(
50 /* Clean and invalidate entire data cache */ 55 /* Clean and invalidate entire data cache */
51 "mcr p15, 0, %0, c7, c14, 0 \n" 56 "mcr p15, 0, %0, c7, c14, 0 \n"
52 /* Invalidate entire intruction cache 57 /* Invalidate entire instruction cache
53 * Also flushes the branch target cache */ 58 * Also flushes the branch target cache */
54 "mcr p15, 0, %0, c7, c5, 0 \n" 59 "mcr p15, 0, %0, c7, c5, 0 \n"
55 /* Data synchronization barrier */ 60 /* Data synchronization barrier */