Skip to contentSkip to conversation

Make it work again with USB. USB register range IMMR+0x00-0xff is reserved and hangs the CPU.

PATCH New Andre Schwarz 1 participant 1 message Nov 16, 2010 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make it work again with USB. USB register range IMMR+0x00-0xff is reserved and hangs the CPU.

---
 arch/powerpc/cpu/mpc83xx/cpu_init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/cpu/mpc83xx/cpu_init.c +1 -1
index 7a1cae7..cfead18 100644
@@ -327,7 +327,7 @@ void cpu_init_f (volatile immap_t * im)
 	im->gpio[1].dir = CONFIG_SYS_GPIO2_DIR;
 #endif
 #ifdef CONFIG_USB_EHCI_FSL
-#ifndef CONFIG_MPC834x
+#if !defined(CONFIG_MPC834x) && !defined(CONFIG_MPC837x)
 	uint32_t temp;
 	struct usb_ehci *ehci = (struct usb_ehci *)CONFIG_SYS_FSL_USB_ADDR;
 
Signature · 1 line
1.7.0.4