[U-Boot] [PATCH 2/4] usb : OMAP3 : Enable Mentor USB OTG module interface clock

Thomas Abraham t-abraham at ti.com
Sun Jan 4 08:15:21 CET 2009


This patch enables Mentor USB OTG module interface clock.

Signed-off-by: Ravi Babu <ravibabu at ti.com>
Signed-off-by: Swaminathan S <swami.iyer at ti.com>
Signed-off-by: Thomas Abraham <t-abraham at ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta at ti.com>
---
 cpu/arm_cortexa8/omap3/clock.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cpu/arm_cortexa8/omap3/clock.c b/cpu/arm_cortexa8/omap3/clock.c
index 8ac31be..d6cf27d 100644
--- a/cpu/arm_cortexa8/omap3/clock.c
+++ b/cpu/arm_cortexa8/omap3/clock.c
@@ -376,6 +376,9 @@ void per_clocks_enable(void)
 	sr32(&prcm_base->iclken_cam, 0, 32, ICK_CAM_ON);
 	sr32(&prcm_base->fclken_per, 0, 32, FCK_PER_ON);
 	sr32(&prcm_base->iclken_per, 0, 32, ICK_PER_ON);
+#ifdef CONFIG_USB_OMAP3530
+	sr32(&prcm_base->iclken1_core, 4, 1, 0x1);
+#endif
 
 	sdelay(1000);
 }
-- 
1.5.6



More information about the U-Boot mailing list