summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/clkctrl-imx233.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-08-29 16:30:49 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-08-30 01:10:36 +0200
commit51f63f0b2a54742a5e1deb4289befb28c7d69b6d (patch)
tree492e79a9f399c7903f0a964e73f0ff9675abaa91 /firmware/target/arm/imx233/clkctrl-imx233.h
parentdbe9436ff2143e032bce80b2bb2074ec7b438768 (diff)
downloadrockbox-51f63f0b2a54742a5e1deb4289befb28c7d69b6d.tar.gz
rockbox-51f63f0b2a54742a5e1deb4289befb28c7d69b6d.tar.bz2
rockbox-51f63f0b2a54742a5e1deb4289befb28c7d69b6d.zip
imx233: fix header, add emi function
Change-Id: I1030e94f0dad4b66646cafa20b61df8a5c7f9278
Diffstat (limited to 'firmware/target/arm/imx233/clkctrl-imx233.h')
-rw-r--r--firmware/target/arm/imx233/clkctrl-imx233.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/clkctrl-imx233.h b/firmware/target/arm/imx233/clkctrl-imx233.h
index c887391602..ec3412d0f3 100644
--- a/firmware/target/arm/imx233/clkctrl-imx233.h
+++ b/firmware/target/arm/imx233/clkctrl-imx233.h
@@ -124,7 +124,7 @@ enum imx233_clock_t
CLK_HBUS, /* freq, div, frac */
CLK_PLL, /* freq, enable */
CLK_XTAL, /* freq */
- CLK_EMI, /* freq */
+ CLK_EMI, /* freq, div, frac, bypass (NOTE: don't modify directly EMI) */
CLK_XBUS, /* freq, div */
};
@@ -177,6 +177,8 @@ void imx233_clkctrl_enable_usb_pll(bool enable);
bool imx233_clkctrl_is_usb_pll_enabled(void);
unsigned imx233_clkctrl_get_clock_freq(enum imx233_clock_t clk);
+bool imx233_clkctrl_is_emi_sync_enabled(void);
+
void imx233_clkctrl_set_auto_slow_divisor(enum imx233_as_div_t div);
enum imx233_as_div_t imx233_clkctrl_get_auto_slow_divisor(void);
void imx233_clkctrl_enable_auto_slow(bool enable);