From 49cded1704dd1bb4aad9b916cc3a3592a161d443 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 4 Sep 2012 20:25:18 +0200 Subject: imx233: properly disable frequency scaling for now Change-Id: I3d700762a7f46e82ac99fed03e1aa9448b6cba47 --- firmware/export/config/creativezenxfi2.h | 2 +- firmware/export/config/creativezenxfi3.h | 2 +- firmware/export/config/sansafuzeplus.h | 2 +- firmware/target/arm/imx233/system-imx233.c | 2 -- 4 files changed, 3 insertions(+), 5 deletions(-) (limited to 'firmware') 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 -- cgit v1.2.3