diff options
author | Eric Bénard <eric@eukrea.com> | 2010-07-16 15:09:06 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-07-26 14:29:21 +0200 |
commit | 7e688f0d77f90c531747afa552d72ea70c2f0803 (patch) | |
tree | 10abc41e167d641ee5a07eeef38a2eba33b05723 /arch/arm/mach-mx25/clock.c | |
parent | a7d403cfd1a4c8924874e0f6b600edb7f38684d0 (diff) | |
download | talos-obmc-linux-7e688f0d77f90c531747afa552d72ea70c2f0803.tar.gz talos-obmc-linux-7e688f0d77f90c531747afa552d72ea70c2f0803.zip |
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.c | 3 |
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) __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), |