summaryrefslogtreecommitdiff
path: root/firmware
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 /firmware
parent072badeafbf33b49cba38d4d837110a7766b5c8e (diff)
downloadrockbox-49cded1704dd1bb4aad9b916cc3a3592a161d443.tar.gz
rockbox-49cded1704dd1bb4aad9b916cc3a3592a161d443.zip
imx233: properly disable frequency scaling for now
Change-Id: I3d700762a7f46e82ac99fed03e1aa9448b6cba47
Diffstat (limited to 'firmware')
-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 @@
190#define HAVE_BOOTLOADER_USB_MODE 190#define HAVE_BOOTLOADER_USB_MODE
191 191
192/* Define this if you have adjustable CPU frequency */ 192/* Define this if you have adjustable CPU frequency */
193#define HAVE_ADJUSTABLE_CPU_FREQ 193//#define HAVE_ADJUSTABLE_CPU_FREQ
194 194
195#define BOOTFILE_EXT "creative" 195#define BOOTFILE_EXT "creative"
196#define BOOTFILE "rockbox." BOOTFILE_EXT 196#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 @@
196#define MAX_LOG_SECTOR_SIZE 2048 196#define MAX_LOG_SECTOR_SIZE 2048
197 197
198/* Define this if you have adjustable CPU frequency */ 198/* Define this if you have adjustable CPU frequency */
199#define HAVE_ADJUSTABLE_CPU_FREQ 199//#define HAVE_ADJUSTABLE_CPU_FREQ
200 200
201#define BOOTFILE_EXT "creative" 201#define BOOTFILE_EXT "creative"
202#define BOOTFILE "rockbox." BOOTFILE_EXT 202#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 @@
190#define MAX_LOG_SECTOR_SIZE 2048 190#define MAX_LOG_SECTOR_SIZE 2048
191 191
192/* Define this if you have adjustable CPU frequency */ 192/* Define this if you have adjustable CPU frequency */
193#define HAVE_ADJUSTABLE_CPU_FREQ 193//#define HAVE_ADJUSTABLE_CPU_FREQ
194 194
195#define BOOTFILE_EXT "sansa" 195#define BOOTFILE_EXT "sansa"
196#define BOOTFILE "rockbox." BOOTFILE_EXT 196#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)
159void set_cpu_frequency(long frequency) 159void set_cpu_frequency(long frequency)
160{ 160{
161 (void) frequency; 161 (void) frequency;
162#if 0
163 switch(frequency) 162 switch(frequency)
164 { 163 {
165 case IMX233_CPUFREQ_454_MHz: 164 case IMX233_CPUFREQ_454_MHz:
@@ -201,7 +200,6 @@ void set_cpu_frequency(long frequency)
201 default: 200 default:
202 break; 201 break;
203 } 202 }
204#endif
205} 203}
206#endif 204#endif
207 205