Skip to content
Snippets Groups Projects
Commit 55efadde authored by Roger Quadros's avatar Roger Quadros Committed by Tom Rini
Browse files

ARM: AM57xx: AM43xx: Fix USB host


CONFIG_USB_XHCI_OMAP can be set for host mode without setting
CONFIG_USB_DWC3 which is meant for gadget mode only.
board_usb_init() was not being defined for CONFIG_USB_XHCI_OMAP
resulting in a data abort on usb start.

Define board_usb_init() for CONFIG_USB_XHCI_OMAP case. Move
gadget specific handling to within CONFIG_USB_DWC3.

Fixes: 6f1af1e3 ("board: ti: invoke clock API to enable and disable clocks")
Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
parent 383f4a0e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment