From 446922d47d1e5b8a4b3158f799437abf2bcd40bb Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Wed, 30 Aug 2006 15:36:55 +0000 Subject: Enable CPU boosting on H10 models. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10806 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-h10.h | 2 +- firmware/export/config-h10_5gb.h | 2 +- firmware/system.c | 2 +- 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 @@ #define CONFIG_LED LED_VIRTUAL /* Define this if you have adjustable CPU frequency */ -/*#define HAVE_ADJUSTABLE_CPU_FREQ*/ +#define HAVE_ADJUSTABLE_CPU_FREQ #define BOOTFILE_EXT "h10" #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 @@ #define CONFIG_LED LED_VIRTUAL /* Define this if you have adjustable CPU frequency */ -/*#define HAVE_ADJUSTABLE_CPU_FREQ*/ +#define HAVE_ADJUSTABLE_CPU_FREQ #define BOOTFILE_EXT "h10" #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) /* Select PLL as clock source? */ outl((inl(0x60006020) & 0x0fffff0f) | 0x20000070, 0x60006020); -#if defined(IPOD_COLOR) || defined(IPOD_4G) || defined(IPOD_MINI) +#if defined(IPOD_COLOR) || defined(IPOD_4G) || defined(IPOD_MINI) || defined(IRIVER_H10) || defined(IRIVER_H10_5GB) /* We don't know why the timer interrupt gets disabled on the PP5020 based ipods, but without the following line, the 4Gs will freeze when CPU frequency changing is enabled. -- cgit v1.2.3