diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2018-11-29 12:57:45 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-12-07 18:31:46 +0300 |
commit | aec0081093e74caf5f3661b7e6a302d07c352d67 (patch) | |
tree | f91e54d9cd2db2ba694ee8a6f81c7c622e24b401 /board | |
parent | b491afa0f3c0df88027b08f18934cc034c40d659 (diff) | |
download | u-boot-aec0081093e74caf5f3661b7e6a302d07c352d67.tar.xz |
configs: am57xx_evm: Enable DM_USB and DM_USB_DEV
Enable DM_USB and DM_USB_DEV for AM57xx based boards.
Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/ti/am57xx/board.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 8c24d17123..bed2eb3c39 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -883,7 +883,7 @@ int spl_start_uboot(void) } #endif -#ifdef CONFIG_USB_DWC3 +#if defined(CONFIG_USB_DWC3) && !CONFIG_IS_ENABLED(DM_USB) static struct dwc3_device usb_otg_ss2 = { .maximum_speed = USB_SPEED_HIGH, .base = DRA7_USB_OTG_SS2_BASE, @@ -912,9 +912,7 @@ int usb_gadget_handle_interrupts(int index) return 0; } -#endif /* CONFIG_USB_DWC3 */ -#if defined(CONFIG_USB_DWC3) || defined(CONFIG_USB_XHCI_OMAP) int board_usb_init(int index, enum usb_init_type init) { enable_usb_clocks(index); |