Merge git://git.denx.de/u-boot into x1
[pandora-u-boot.git] / cpu / ppc4xx / usb_ohci.c
index bfa79ab..2607ed6 100644 (file)
@@ -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;