Skip to contentSkip to conversation

arm: am57xx: cl-som-am57x: fix USB scan

PATCH New Uri Mashiach 2 participants 2 messages Feb 9, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 4/6 arm: am57xx: cl-som-am57x: fix USB scan

USB bus scan attempt:
----------------------------------cut---------------------------------- => usb start
starting USB...
USB0: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... data abort

pc : [<fff6240e>]          lr : [<fff623b3>]

reloc pc : [<8081b40e>] lr : [<8081b3b3>]
sp : fdf42930 ip : fdf42960 fp : 00000000
r10: 00000001 r9 : fdf42ef0 r8 : 48890020
r7 : 00000002 r6 : fffa5840 r5 : fff8b140 r4 : fdf429c0
r3 : 00000000 r2 : 00000004 r1 : 00000000 r0 : 00000000
Flags: nZcv IRQs off FIQs off Mode SVC_32
Resetting CPU ...

resetting ... ----------------------------------cut----------------------------------

Fix by enabling USB configuration in the SPL.

---
 include/configs/cl-som-am57x.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/configs/cl-som-am57x.h +2 -2
index e1f724b..312cfee 100644
@@ -85,6 +85,8 @@
 #define CONFIG_SYS_I2C_PCA953X_ADDR     0x20
 #define CONFIG_SYS_I2C_PCA953X_WIDTH    { {0x20, 16} }
 
+#endif /* !CONFIG_SPL_BUILD */
+
 /* USB xHCI HOST */
 #define CONFIG_USB_XHCI_OMAP
 #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
@@ -99,8 +101,6 @@
 #define CONFIG_USB_ETHER_ASIX
 #define CONFIG_USB_ETHER_MCS7830
 
-#endif /* !CONFIG_SPL_BUILD */
-
 /* CPSW Ethernet */
 #define CONFIG_DRIVER_TI_CPSW
 #define CONFIG_MII
Signature · 1 line
2.7.4
#1 lore raw

PATCH 4/6 arm: am57xx: cl-som-am57x: fix USB scan

Quoted 1 line · Uri Mashiach

USB bus scan attempt:

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170209/1a0428a0/attachment.sig>