diff options
author | Roger Quadros <rogerq@ti.com> | 2016-05-23 14:37:47 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-06-03 01:42:14 (GMT) |
commit | 383f4a0ec78ee92c89a7ce135acbde47c84c6201 (patch) | |
tree | b5c0fb5c41a19b4c4d703ade0d799d52598205e6 /arch/arm/cpu/armv7/am33xx | |
parent | 91b86e21564de01c0e3deafc72702897993d63ae (diff) | |
download | u-boot-383f4a0ec78ee92c89a7ce135acbde47c84c6201.tar.xz |
ARM: OMAP5+: Provide enable/disable_usb_clocks() for CONFIG_USB_XHCI_OMAP
CONFIG_USB_XHCI_OMAP is enabled for host mode independent of CONFIG_USB_DWC3
which is meant for gadget mode only. We need enable/disbale_usb_clocks() for
host mode as well so provide for it.
Fixes: 09cc14f4bcbf ("ARM: AM43xx: Add functions to enable and disable USB clocks"
Signed-off-by: Roger Quadros <rogerq@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/am33xx')
-rw-r--r-- | arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/clock_am43xx.c b/arch/arm/cpu/armv7/am33xx/clock_am43xx.c index 5c2a2ab..73ea955 100644 --- a/arch/arm/cpu/armv7/am33xx/clock_am43xx.c +++ b/arch/arm/cpu/armv7/am33xx/clock_am43xx.c @@ -160,7 +160,7 @@ void disable_edma3_clocks(void) } #endif -#ifdef CONFIG_USB_DWC3 +#if defined(CONFIG_USB_DWC3) || defined(CONFIG_USB_XHCI_OMAP) void enable_usb_clocks(int index) { u32 *usbclkctrl = 0; |