summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Gotthardt <gotthardt@rockbox.org>2007-01-17 03:04:31 +0000
committerSteve Gotthardt <gotthardt@rockbox.org>2007-01-17 03:04:31 +0000
commitac9d4ee7aab474d7099ebf497f5291d02aef2353 (patch)
tree204a687e164baa80d92db1a0fd36126c0bddfb31
parent49c13b3e370db6e5483bd9af1d0f31bc59836bde (diff)
downloadrockbox-ac9d4ee7aab474d7099ebf497f5291d02aef2353.tar.gz
rockbox-ac9d4ee7aab474d7099ebf497f5291d02aef2353.zip
Backing out the CPU boost for now. Found several issues from screen lines to crashing during wav play and running oscilliscope, etc
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12037 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config-gigabeat.h3
-rw-r--r--firmware/target/arm/gigabeat/meg-fx/system-meg-fx.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h
index 6e22e8d7ab..9f024054b7 100644
--- a/firmware/export/config-gigabeat.h
+++ b/firmware/export/config-gigabeat.h
@@ -126,7 +126,8 @@
126#define HAVE_HEADPHONE_DETECTION 126#define HAVE_HEADPHONE_DETECTION
127 127
128/* Define this if you have adjustable CPU frequency */ 128/* Define this if you have adjustable CPU frequency */
129#define HAVE_ADJUSTABLE_CPU_FREQ 129/* Not ready for prime-time */
130/* #define HAVE_ADJUSTABLE_CPU_FREQ */
130 131
131#define BOOTFILE_EXT "gigabeat" 132#define BOOTFILE_EXT "gigabeat"
132#define BOOTFILE "rockbox." BOOTFILE_EXT 133#define BOOTFILE "rockbox." BOOTFILE_EXT
diff --git a/firmware/target/arm/gigabeat/meg-fx/system-meg-fx.c b/firmware/target/arm/gigabeat/meg-fx/system-meg-fx.c
index 008b994a10..ca73b38eed 100644
--- a/firmware/target/arm/gigabeat/meg-fx/system-meg-fx.c
+++ b/firmware/target/arm/gigabeat/meg-fx/system-meg-fx.c
@@ -68,6 +68,9 @@ void system_init(void)
68 68
69} 69}
70 70
71
72#ifdef HAVE_ADJUSTABLE_CPU_FREQ
73
71void set_cpu_frequency(long frequency) 74void set_cpu_frequency(long frequency)
72{ 75{
73 if (frequency == CPUFREQ_MAX) 76 if (frequency == CPUFREQ_MAX)
@@ -91,3 +94,5 @@ void set_cpu_frequency(long frequency)
91 FREQ = CPUFREQ_NORMAL; 94 FREQ = CPUFREQ_NORMAL;
92 } 95 }
93} 96}
97
98#endif