Commit e627290ac63c4d43b24407179d7439dd50a50bfe

Authored by Uri Mashiach
Committed by Tom Rini
1 parent 4acfe1ae46

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.

Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Igor Grinberg <grinberg@compulab.co.il>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

include/configs/cl-som-am57x.h
... ... @@ -82,6 +82,8 @@
82 82 #define CONFIG_SYS_I2C_PCA953X_ADDR 0x20
83 83 #define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x20, 16} }
84 84  
  85 +#endif /* !CONFIG_SPL_BUILD */
  86 +
85 87 /* USB xHCI HOST */
86 88 #define CONFIG_USB_XHCI_OMAP
87 89 #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS 2
... ... @@ -95,8 +97,6 @@
95 97 #define CONFIG_USB_ETHER_RNDIS
96 98 #define CONFIG_USB_ETHER_ASIX
97 99 #define CONFIG_USB_ETHER_MCS7830
98   -
99   -#endif /* !CONFIG_SPL_BUILD */
100 100  
101 101 /* CPSW Ethernet */
102 102 #define CONFIG_DRIVER_TI_CPSW