summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-08-30 15:36:55 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-08-30 15:36:55 +0000
commit446922d47d1e5b8a4b3158f799437abf2bcd40bb (patch)
tree2abc74d829a722e36cc1dd38b3d6164b16245a3e
parent2a2f4f8d89cd9ab8ae9c57f74c62d867c2398d2b (diff)
downloadrockbox-446922d47d1e5b8a4b3158f799437abf2bcd40bb.tar.gz
rockbox-446922d47d1e5b8a4b3158f799437abf2bcd40bb.zip
Enable CPU boosting on H10 models.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10806 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config-h10.h2
-rw-r--r--firmware/export/config-h10_5gb.h2
-rw-r--r--firmware/system.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h
index cfa7f6bb46..1bade10ee2 100644
--- a/firmware/export/config-h10.h
+++ b/firmware/export/config-h10.h
@@ -119,7 +119,7 @@
119#define CONFIG_LED LED_VIRTUAL 119#define CONFIG_LED LED_VIRTUAL
120 120
121/* Define this if you have adjustable CPU frequency */ 121/* Define this if you have adjustable CPU frequency */
122/*#define HAVE_ADJUSTABLE_CPU_FREQ*/ 122#define HAVE_ADJUSTABLE_CPU_FREQ
123 123
124#define BOOTFILE_EXT "h10" 124#define BOOTFILE_EXT "h10"
125#define BOOTFILE "rockbox." BOOTFILE_EXT 125#define BOOTFILE "rockbox." BOOTFILE_EXT
diff --git a/firmware/export/config-h10_5gb.h b/firmware/export/config-h10_5gb.h
index d3750c1a08..693ee71ad8 100644
--- a/firmware/export/config-h10_5gb.h
+++ b/firmware/export/config-h10_5gb.h
@@ -118,7 +118,7 @@
118#define CONFIG_LED LED_VIRTUAL 118#define CONFIG_LED LED_VIRTUAL
119 119
120/* Define this if you have adjustable CPU frequency */ 120/* Define this if you have adjustable CPU frequency */
121/*#define HAVE_ADJUSTABLE_CPU_FREQ*/ 121#define HAVE_ADJUSTABLE_CPU_FREQ
122 122
123#define BOOTFILE_EXT "h10" 123#define BOOTFILE_EXT "h10"
124#define BOOTFILE "rockbox." BOOTFILE_EXT 124#define BOOTFILE "rockbox." BOOTFILE_EXT
diff --git a/firmware/system.c b/firmware/system.c
index 6aee823205..44453db816 100644
--- a/firmware/system.c
+++ b/firmware/system.c
@@ -1258,7 +1258,7 @@ void set_cpu_frequency(long frequency)
1258 /* Select PLL as clock source? */ 1258 /* Select PLL as clock source? */
1259 outl((inl(0x60006020) & 0x0fffff0f) | 0x20000070, 0x60006020); 1259 outl((inl(0x60006020) & 0x0fffff0f) | 0x20000070, 0x60006020);
1260 1260
1261#if defined(IPOD_COLOR) || defined(IPOD_4G) || defined(IPOD_MINI) 1261#if defined(IPOD_COLOR) || defined(IPOD_4G) || defined(IPOD_MINI) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
1262 /* We don't know why the timer interrupt gets disabled on the PP5020 1262 /* We don't know why the timer interrupt gets disabled on the PP5020
1263 based ipods, but without the following line, the 4Gs will freeze 1263 based ipods, but without the following line, the 4Gs will freeze
1264 when CPU frequency changing is enabled. 1264 when CPU frequency changing is enabled.