omap4430panda: enable clock gating for M6_DPLL_CORE
authorAaron Carroll <aaronc@cse.unsw.edu.au>
Fri, 28 Jan 2011 19:22:12 +0000 (00:52 +0530)
committerAnand Gadiyar <gadiyar@ti.com>
Fri, 28 Jan 2011 19:22:12 +0000 (00:52 +0530)
commit9dc4f4fbc02ca22f519a8f0a8ae3a837af761f56
tree4aace68586755149c1a9f9d95562c17923b5c92b
parentd0dadd2c46c1a0fd0b8cbe5fa84ce487fe5c2368
omap4430panda: enable clock gating for M6_DPLL_CORE

The M6 clock from the core DPLL supplies a clock to the debug domain.
After the core DPLL is locked, the M6 clock appears to stop if clock
gating has been *disabled* for that output (reason unknown).  This
breaks JTAG debugging.

This patch enables clock gating on M6_DPLL_CORE before locking the
core DPLL, so the debugger continues to work.

Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
board/omap4430panda/clock.c