summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/system-target.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-09-26 21:24:00 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-12-12 12:06:42 +0100
commit1c97083ca77b4f9b1046b6b50046366310ad2dc2 (patch)
tree5e4fbf0b1a475b0e0223a5cac355619fe92a3d9f /firmware/target/arm/imx233/system-target.h
parent9aeb6f48b8bc52833aaa90246c3fd21fbd6c2ab5 (diff)
downloadrockbox-1c97083ca77b4f9b1046b6b50046366310ad2dc2.tar.gz
rockbox-1c97083ca77b4f9b1046b6b50046366310ad2dc2.tar.bz2
rockbox-1c97083ca77b4f9b1046b6b50046366310ad2dc2.zip
imx233: refactor power off and reboot
There is no reason to use different code paths Change-Id: I4894c7963c802b56b5d3576909e1008a7c401935
Diffstat (limited to 'firmware/target/arm/imx233/system-target.h')
-rw-r--r--firmware/target/arm/imx233/system-target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/system-target.h b/firmware/target/arm/imx233/system-target.h
index 3a8aadd227..ee2df9a3e9 100644
--- a/firmware/target/arm/imx233/system-target.h
+++ b/firmware/target/arm/imx233/system-target.h
@@ -48,10 +48,10 @@
#define CPUFREQ_SLEEP IMX233_CPUFREQ_64_MHz
void system_prepare_fw_start(void);
+void imx233_system_prepare_shutdown(void);
void udelay(unsigned us);
bool imx233_us_elapsed(uint32_t ref, unsigned us_delay);
void imx233_reset_block(volatile uint32_t *block_reg);
-void power_off(void);
void imx233_enable_usb_controller(bool enable);
void imx233_enable_usb_phy(bool enable);
// NOTE: this is available even if HAVE_ADJUSTABLE_CPU_FREQ is undef