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.zip
rockbox-ac9d4ee7aab474d7099ebf497f5291d02aef2353.tar.gz
rockbox-ac9d4ee7aab474d7099ebf497f5291d02aef2353.tar.bz2
rockbox-ac9d4ee7aab474d7099ebf497f5291d02aef2353.tar.xz
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 6e22e8d..9f02405 100644
--- a/firmware/export/config-gigabeat.h
+++ b/firmware/export/config-gigabeat.h
@@ -126,7 +126,8 @@
#define HAVE_HEADPHONE_DETECTION
/* Define this if you have adjustable CPU frequency */
-#define HAVE_ADJUSTABLE_CPU_FREQ
+/* Not ready for prime-time */
+/* #define HAVE_ADJUSTABLE_CPU_FREQ */
#define BOOTFILE_EXT "gigabeat"
#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 008b994..ca73b38 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)
}
+
+#ifdef HAVE_ADJUSTABLE_CPU_FREQ
+
void set_cpu_frequency(long frequency)
{
if (frequency == CPUFREQ_MAX)
@@ -91,3 +94,5 @@ void set_cpu_frequency(long frequency)
FREQ = CPUFREQ_NORMAL;
}
}
+
+#endif