summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/clkctrl-imx233.h
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-09-14 11:50:06 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-09-14 11:50:06 +0000
commitb25d6e0c964f80dc85434aced42b6fd39c974cf5 (patch)
tree64667274d02b338e1410bb1828e9fdd091ede55c /firmware/target/arm/imx233/clkctrl-imx233.h
parent4f27931a583fc4b01054fc143e5a88064f9d6847 (diff)
downloadrockbox-b25d6e0c964f80dc85434aced42b6fd39c974cf5.tar.gz
rockbox-b25d6e0c964f80dc85434aced42b6fd39c974cf5.tar.bz2
rockbox-b25d6e0c964f80dc85434aced42b6fd39c974cf5.zip
imx233/fuze+: implement usb enable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30542 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx233/clkctrl-imx233.h')
-rw-r--r--firmware/target/arm/imx233/clkctrl-imx233.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/clkctrl-imx233.h b/firmware/target/arm/imx233/clkctrl-imx233.h
index f1a51e25b2..7aa4f716e8 100644
--- a/firmware/target/arm/imx233/clkctrl-imx233.h
+++ b/firmware/target/arm/imx233/clkctrl-imx233.h
@@ -28,8 +28,9 @@
#define HW_CLKCTRL_BASE 0x80040000
#define HW_CLKCTRL_PLLCTRL0 (*(volatile uint32_t *)(HW_CLKCTRL_BASE + 0x0))
-#define HW_CLKCTRL_PLLCTRL0__DIV_SEL_BP 20
-#define HW_CLKCTRL_PLLCTRL0__DIV_SEL_BM (3 << 20)
+#define HW_CLKCTRL_PLLCTRL0__EN_USB_CLKS (1 << 18)
+#define HW_CLKCTRL_PLLCTRL0__DIV_SEL_BP 20
+#define HW_CLKCTRL_PLLCTRL0__DIV_SEL_BM (3 << 20)
#define HW_CLKCTRL_PLLCTRL1 (*(volatile uint32_t *)(HW_CLKCTRL_BASE + 0x10))
@@ -90,5 +91,6 @@ void imx233_set_clock_divisor(enum imx233_clock_t clk, int div);
/* call with fracdiv=0 to disable it */
void imx233_set_fractional_divisor(enum imx233_clock_t clk, int fracdiv);
void imx233_set_bypass_pll(enum imx233_clock_t clk, bool bypass);
+void imx233_enable_usb_pll(bool enable);
#endif /* CLKCTRL_IMX233_H */