From 7e688f0d77f90c531747afa552d72ea70c2f0803 Mon Sep 17 00:00:00 2001 From: Eric Bénard Date: Fri, 16 Jul 2010 15:09:06 +0200 Subject: imx25: fix low level debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DEBUG_LL is actually broken on i.MX25, this patch fix it. Signed-off-by: Eric Bénard Signed-off-by: Sascha Hauer --- arch/arm/mach-mx25/clock.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/mach-mx25/clock.c') 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) __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), -- cgit v1.2.3