summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-08-19 18:04:48 -0400
committerTom Rini <trini@konsulko.com>2015-08-19 18:04:48 -0400
commita5d338b2f24d8e193bfa2b6ee33eb39cff0b4adf (patch)
treed76b05507789305b36c78f478acde37fde1cd994 /arch/arm/cpu
parentd1221462fece27ad163dcd0c181a456c73fe2011 (diff)
parent7a1386f96bca550240670fa3461d3a0dc060aa01 (diff)
downloadu-boot-imx-a5d338b2f24d8e193bfa2b6ee33eb39cff0b4adf.zip
u-boot-imx-a5d338b2f24d8e193bfa2b6ee33eb39cff0b4adf.tar.gz
u-boot-imx-a5d338b2f24d8e193bfa2b6ee33eb39cff0b4adf.tar.bz2
Merge git://git.denx.de/u-boot-usb
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/arm926ejs/spear/cpu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/spear/cpu.c b/arch/arm/cpu/arm926ejs/spear/cpu.c
index 1ce9db7..3037084 100644
--- a/arch/arm/cpu/arm926ejs/spear/cpu.c
+++ b/arch/arm/cpu/arm926ejs/spear/cpu.c
@@ -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;
}