summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx5
diff options
context:
space:
mode:
authorRanjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>2010-03-25 14:57:13 -0500
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-25 11:20:17 +0200
commit4330da367386d5c56ec05a146c1f48f01938328e (patch)
treeeb8034847b9187b0bfe669affe355555c298a3d9 /arch/arm/mach-mx5
parent184ae309e4013a3a5237c9cff3c26c82e709cafb (diff)
ENGR00122021: MX51: Unable to connect using JTAG
Fix the clock code so that ARM_DEBUG clocks are ON when jtag=on is passed in the command line. Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/mach-mx5')
-rw-r--r--arch/arm/mach-mx5/clock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/clock.c b/arch/arm/mach-mx5/clock.c
index 3d81ff4c7159..57d28f9f6267 100644
--- a/arch/arm/mach-mx5/clock.c
+++ b/arch/arm/mach-mx5/clock.c
@@ -4118,6 +4118,7 @@ int __init mx51_clocks_init(unsigned long ckil, unsigned long osc, unsigned long
if (mxc_jtag_enabled) {
__raw_writel(1 << MXC_CCM_CCGR0_CG0_OFFSET |
1 << MXC_CCM_CCGR0_CG1_OFFSET |
+ 1 << MXC_CCM_CCGR0_CG2_OFFSET |
3 << MXC_CCM_CCGR0_CG3_OFFSET |
3 << MXC_CCM_CCGR0_CG4_OFFSET |
3 << MXC_CCM_CCGR0_CG8_OFFSET |