mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-19 18:12:54 -05:00
imx233/fuze+: implement usb enable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30542 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4f27931a58
commit
b25d6e0c96
5 changed files with 59 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue