]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/arm926ejs/spear/cpu.c
usb: spear: Add support for both SPEAr600 EHCI controllers
[karo-tx-uboot.git] / arch / arm / cpu / arm926ejs / spear / cpu.c
index 1ce9db7a7da54176e38bc6bb17c4951022eb770c..3037084b29bce7cdae69b31a65f25eb79bb7dba0 100644 (file)
@@ -47,8 +47,12 @@ int arch_cpu_init(void)
 #if defined(CONFIG_NAND_FSMC)
        periph1_clken |= MISC_FSMCENB;
 #endif
+#if defined(CONFIG_USB_EHCI_SPEAR)
+       periph1_clken |= PERIPH_USBH1 | PERIPH_USBH2;
+#endif
 
        writel(periph1_clken, &misc_p->periph1_clken);
+
        return 0;
 }