]> git.sur5r.net Git - u-boot/blobdiff - cpu/ppc4xx/usb_ohci.c
ppc/85xx: add cpu init config file for boot from NAND
[u-boot] / cpu / ppc4xx / usb_ohci.c
index bfa79abceca6d58f1a374288cf49a17d6f482708..a9edacd330f3cc12340de1d47a072715d3e2c08d 100644 (file)
@@ -2,7 +2,7 @@
  * URB OHCI HCD (Host Controller Driver) for USB on the PPC440EP.
  *
  * (C) Copyright 2003-2004
- * Gary Jennejohn, DENX Software Engineering <gj@denx.de>
+ * Gary Jennejohn, DENX Software Engineering <garyj@denx.de>
  *
  * (C) Copyright 2004
  * Pierre Aubert, Staubli Faverges <p.aubert@staubli.com>
@@ -1600,9 +1600,9 @@ int usb_lowlevel_init(void)
        gohci.sleeping = 0;
        gohci.irq = -1;
 #if defined(CONFIG_440EP)
-       gohci.regs = (struct ohci_regs *)(CFG_PERIPHERAL_BASE | 0x1000);
-#elif defined(CONFIG_440EPX) || defined(CFG_USB_HOST)
-       gohci.regs = (struct ohci_regs *)(CFG_USB_HOST);
+       gohci.regs = (struct ohci_regs *)(CONFIG_SYS_PERIPHERAL_BASE | 0x1000);
+#elif defined(CONFIG_440EPX) || defined(CONFIG_SYS_USB_HOST)
+       gohci.regs = (struct ohci_regs *)(CONFIG_SYS_USB_HOST);
 #endif
 
        gohci.flags = 0;