summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx25/clock.c
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2010-07-16 15:09:06 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-07-26 14:29:21 +0200
commit7e688f0d77f90c531747afa552d72ea70c2f0803 (patch)
tree10abc41e167d641ee5a07eeef38a2eba33b05723 /arch/arm/mach-mx25/clock.c
parenta7d403cfd1a4c8924874e0f6b600edb7f38684d0 (diff)
downloadop-kernel-dev-7e688f0d77f90c531747afa552d72ea70c2f0803.zip
op-kernel-dev-7e688f0d77f90c531747afa552d72ea70c2f0803.tar.gz
imx25: fix low level debug
DEBUG_LL is actually broken on i.MX25, this patch fix it. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx25/clock.c')
-rw-r--r--arch/arm/mach-mx25/clock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-mx25/clock.c b/arch/arm/mach-mx25/clock.c
index 1a58cae..02f8247 100644
--- a/arch/arm/mach-mx25/clock.c
+++ b/arch/arm/mach-mx25/clock.c
@@ -292,6 +292,9 @@ int __init mx25_clocks_init(void)
__raw_writel((1 << 19), CRM_BASE + CCM_CGCR0);
__raw_writel((0xf << 16) | (3 << 26), CRM_BASE + CCM_CGCR1);
__raw_writel((1 << 5), CRM_BASE + CCM_CGCR2);
+#if defined(CONFIG_DEBUG_LL) && !defined(CONFIG_DEBUG_ICEDCC)
+ clk_enable(&uart1_clk);
+#endif
/* Clock source for lcdc and csi is upll */
__raw_writel(__raw_readl(CRM_BASE+0x64) | (1 << 7) | (1 << 0),
OpenPOWER on IntegriCloud