summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-09-04 20:25:18 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-09-04 20:25:46 +0200
commit49cded1704dd1bb4aad9b916cc3a3592a161d443 (patch)
tree5ebb1744d9843df34975b71f03e1f9fcf196660d
parent072badeafbf33b49cba38d4d837110a7766b5c8e (diff)
downloadrockbox-49cded1704dd1bb4aad9b916cc3a3592a161d443.tar.gz
rockbox-49cded1704dd1bb4aad9b916cc3a3592a161d443.zip
imx233: properly disable frequency scaling for now
Change-Id: I3d700762a7f46e82ac99fed03e1aa9448b6cba47
-rw-r--r--firmware/export/config/creativezenxfi2.h2
-rw-r--r--firmware/export/config/creativezenxfi3.h2
-rw-r--r--firmware/export/config/sansafuzeplus.h2
-rw-r--r--firmware/target/arm/imx233/system-imx233.c2
4 files changed, 3 insertions, 5 deletions
diff --git a/firmware/export/config/creativezenxfi2.h b/firmware/export/config/creativezenxfi2.h
index 04b3b2495f..95bc6baf6c 100644
--- a/firmware/export/config/creativezenxfi2.h
+++ b/firmware/export/config/creativezenxfi2.h
@@ -190,7 +190,7 @@
#define HAVE_BOOTLOADER_USB_MODE
/* Define this if you have adjustable CPU frequency */
-#define HAVE_ADJUSTABLE_CPU_FREQ
+//#define HAVE_ADJUSTABLE_CPU_FREQ
#define BOOTFILE_EXT "creative"
#define BOOTFILE "rockbox." BOOTFILE_EXT
diff --git a/firmware/export/config/creativezenxfi3.h b/firmware/export/config/creativezenxfi3.h
index bcc5955249..84bdc36639 100644
--- a/firmware/export/config/creativezenxfi3.h
+++ b/firmware/export/config/creativezenxfi3.h
@@ -196,7 +196,7 @@
#define MAX_LOG_SECTOR_SIZE 2048
/* Define this if you have adjustable CPU frequency */
-#define HAVE_ADJUSTABLE_CPU_FREQ
+//#define HAVE_ADJUSTABLE_CPU_FREQ
#define BOOTFILE_EXT "creative"
#define BOOTFILE "rockbox." BOOTFILE_EXT
diff --git a/firmware/export/config/sansafuzeplus.h b/firmware/export/config/sansafuzeplus.h
index 810cc1d6a1..1364d75637 100644
--- a/firmware/export/config/sansafuzeplus.h
+++ b/firmware/export/config/sansafuzeplus.h
@@ -190,7 +190,7 @@
#define MAX_LOG_SECTOR_SIZE 2048
/* Define this if you have adjustable CPU frequency */
-#define HAVE_ADJUSTABLE_CPU_FREQ
+//#define HAVE_ADJUSTABLE_CPU_FREQ
#define BOOTFILE_EXT "sansa"
#define BOOTFILE "rockbox." BOOTFILE_EXT
diff --git a/firmware/target/arm/imx233/system-imx233.c b/firmware/target/arm/imx233/system-imx233.c
index f8a0b81316..8d34562f9f 100644
--- a/firmware/target/arm/imx233/system-imx233.c
+++ b/firmware/target/arm/imx233/system-imx233.c
@@ -159,7 +159,6 @@ void udelay(unsigned us)
void set_cpu_frequency(long frequency)
{
(void) frequency;
-#if 0
switch(frequency)
{
case IMX233_CPUFREQ_454_MHz:
@@ -201,7 +200,6 @@ void set_cpu_frequency(long frequency)
default:
break;
}
-#endif
}
#endif