diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-09-25 14:12:48 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-09-25 14:31:39 +0200 |
commit | 2f5f2ba91dfe5a41551d54b7af33be42e7a27c5d (patch) | |
tree | e6ff3ecd8153242a4f3dee3ada570b38a5863e4b /firmware/target/arm/imx233/system-target.h | |
parent | 7e03dbbf941a7f18f7dc32980e406adfb0a1f288 (diff) | |
download | rockbox-2f5f2ba91dfe5a41551d54b7af33be42e7a27c5d.tar.gz rockbox-2f5f2ba91dfe5a41551d54b7af33be42e7a27c5d.zip |
imx233: always boost in bootloader
Many imx233 targets boot in a very low performance mode, typically cpu and
dram at 24MHz. This results in very slow boots and very unstable USB
bootloader mode. Since cpu frequency scaling is disabled in bootloader in
rockbox, always make the frequency scaling code available and boost at boot
time.
Change-Id: Ie96623c00f7c4cd9a377b84dcb14b772558cfa4d
Diffstat (limited to 'firmware/target/arm/imx233/system-target.h')
-rw-r--r-- | firmware/target/arm/imx233/system-target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/system-target.h b/firmware/target/arm/imx233/system-target.h index 407369af7e..33e8f12265 100644 --- a/firmware/target/arm/imx233/system-target.h +++ b/firmware/target/arm/imx233/system-target.h | |||
@@ -53,6 +53,8 @@ void imx233_reset_block(volatile uint32_t *block_reg); | |||
53 | void power_off(void); | 53 | void power_off(void); |
54 | void imx233_enable_usb_controller(bool enable); | 54 | void imx233_enable_usb_controller(bool enable); |
55 | void imx233_enable_usb_phy(bool enable); | 55 | void imx233_enable_usb_phy(bool enable); |
56 | // NOTE: this is available even if HAVE_ADJUSTABLE_CPU_FREQ is undef | ||
57 | void imx233_set_cpu_frequency(long frequency); | ||
56 | 58 | ||
57 | void udelay(unsigned usecs); | 59 | void udelay(unsigned usecs); |
58 | 60 | ||