[U-Boot] [PATCH 1/6] arm: am57xx: cl-som-am57x: fix XHCI registers base address
Uri Mashiach
uri.mashiach at compulab.co.il
Thu Feb 9 07:00:26 UTC 2017
The following XHCI registers base address are set to OMAP5 values:
OMAP_XHCI_BASE, OMAP_OCP1_SCP_BASE, OMAP_OTG_WRAPPER_BASE
Captured crash for "usb start" command:
----------------------------------cut----------------------------------
=> usb start
starting USB...
USB0: data abort
pc : [<fff63d22>] lr : [<fff63b63>]
reloc pc : [<8081cd22>] lr : [<8081cb63>]
sp : fdf42d08 ip : fff9e040 fp : fdf42d50
r10: fff8a998 r9 : fdf42ef0 r8 : 00000000
r7 : fdf42d28 r6 : fdf42d2c r5 : fffa5c00 r4 : 00000000
r3 : 4a020000 r2 : 00000000 r1 : fdf42e78 r0 : fffa5c00
Flags: nzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
resetting ...
----------------------------------cut----------------------------------
Fix by adding the CL-SOM-AM57x target to the XHCI registers base address
ifdef'ery.
A better fix should be based on a SOC family defines (currently
missing).
Signed-off-by: Uri Mashiach <uri.mashiach at compulab.co.il>
---
include/linux/usb/xhci-omap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/usb/xhci-omap.h b/include/linux/usb/xhci-omap.h
index 9de80d7..89665a0 100644
--- a/include/linux/usb/xhci-omap.h
+++ b/include/linux/usb/xhci-omap.h
@@ -14,7 +14,7 @@
#define OMAP_XHCI_BASE 0x488d0000
#define OMAP_OCP1_SCP_BASE 0x4A081000
#define OMAP_OTG_WRAPPER_BASE 0x488c0000
-#elif defined CONFIG_TARGET_AM57XX_EVM
+#elif defined(CONFIG_TARGET_AM57XX_EVM) || defined(CONFIG_TARGET_CL_SOM_AM57X)
#define OMAP_XHCI_BASE 0x48890000
#define OMAP_OCP1_SCP_BASE 0x4A084c00
#define OMAP_OTG_WRAPPER_BASE 0x48880000
--
2.7.4
More information about the U-Boot
mailing list