aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx25
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2010-07-16 09:09:06 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-07-26 08:29:21 -0400
commit7e688f0d77f90c531747afa552d72ea70c2f0803 (patch)
tree10abc41e167d641ee5a07eeef38a2eba33b05723 /arch/arm/mach-mx25
parenta7d403cfd1a4c8924874e0f6b600edb7f38684d0 (diff)
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')
-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 1a58cae4d5e8..02f82478075f 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)
292 __raw_writel((1 << 19), CRM_BASE + CCM_CGCR0); 292 __raw_writel((1 << 19), CRM_BASE + CCM_CGCR0);
293 __raw_writel((0xf << 16) | (3 << 26), CRM_BASE + CCM_CGCR1); 293 __raw_writel((0xf << 16) | (3 << 26), CRM_BASE + CCM_CGCR1);
294 __raw_writel((1 << 5), CRM_BASE + CCM_CGCR2); 294 __raw_writel((1 << 5), CRM_BASE + CCM_CGCR2);
295#if defined(CONFIG_DEBUG_LL) && !defined(CONFIG_DEBUG_ICEDCC)
296 clk_enable(&uart1_clk);
297#endif
295 298
296 /* Clock source for lcdc and csi is upll */ 299 /* Clock source for lcdc and csi is upll */
297 __raw_writel(__raw_readl(CRM_BASE+0x64) | (1 << 7) | (1 << 0), 300 __raw_writel(__raw_readl(CRM_BASE+0x64) | (1 << 7) | (1 << 0),