From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Quadros Date: Mon, 16 May 2016 12:06:26 +0300 Subject: [U-Boot] [PATCH v2 2/4] board: ti: am57xx: Fix USB configuration In-Reply-To: <5735CC80.3090900@denx.de> References: <1463141873-10604-1-git-send-email-rogerq@ti.com> <1463141873-10604-3-git-send-email-rogerq@ti.com> <5735CA6A.2070005@ti.com> <5735CC80.3090900@denx.de> Message-ID: <57398D92.1060709@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 13/05/16 15:45, Marek Vasut wrote: > On 05/13/2016 02:36 PM, Roger Quadros wrote: >> Currently CONFIG_USB_DWC3 is not selected so doing a usb start >> command results in a serious error [1]. > > Why does this error happen ? That is what should be fixed. Selecting > some random options seems like papering over a bug. Agreed. I was lazy :P. cheers, -roger > >> Fix that by enabling CONFIG_USB_DWC3 and other related options >> CONFIG_USB_DWC3_PHY_OMAP and CONFIG_USB_DWC3_OMAP. >> >> [1] >> => usb start >> starting USB... >> USB0: data abort >> pc : [] lr : [] >> reloc pc : [<8081dd10>] lr : [<8081dbbf>] >> sp : fef3d260 ip : 00000000 fp : fef3d2a8 >> r10: fffa4610 r9 : fef50ed0 r8 : 00000000 >> r7 : fef3d280 r6 : fef3d284 r5 : fffbc380 r4 : 00000000 >> r3 : 48880000 r2 : 00000000 r1 : 00000000 r0 : fffbc380 >> Flags: nzcv IRQs off FIQs off Mode SVC_32 >> Resetting CPU ... >> >> Signed-off-by: Roger Quadros >> --- >> include/configs/am57xx_evm.h | 3 +++ >> 1 file changed, 3 insertions(+) > > Changelog is missing ;-) > >> diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h >> index 32d7d4d..939057c 100644 >> --- a/include/configs/am57xx_evm.h >> +++ b/include/configs/am57xx_evm.h >> @@ -63,6 +63,7 @@ >> #define CONFIG_SUPPORT_EMMC_BOOT >> >> /* USB xHCI HOST */ >> +#define CONFIG_USB_DWC3 >> #define CONFIG_USB_HOST >> #define CONFIG_USB_XHCI_DWC3 >> #define CONFIG_USB_XHCI >> @@ -72,6 +73,8 @@ >> >> #define CONFIG_OMAP_USB_PHY >> #define CONFIG_OMAP_USB3PHY1_HOST >> +#define CONFIG_USB_DWC3_PHY_OMAP >> +#define CONFIG_USB_DWC3_OMAP >> >> /* SATA */ >> #define CONFIG_BOARD_LATE_INIT >> > >