Initial Timer on m5329 not running
"Christian Gieseler" <[email protected]>
| Newsgroups | gmane.linux.uclinux.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi List,
Coldfire 5329 seems not be used with latest kernels. The Main Timer is not
running, so the scheduler won´t behave like expected.
To change this the following change has to be done in m532x.c arch setup.
There is probably more to be fixed.
diff git a/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
b/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
--- a/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
+++ b/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
@@ 120,6 +120,8 @@ static struct clk * const enable_clks[] __initconst = {
&__clk_0_25, /* mcfuart.1 */
&__clk_0_26, /* mcfuart.2 */
+ &__clk_0_28, /* mcftmr.0 */
+ &__clk_0_29, /* mcftmr.1 */
&__clk_0_32, /* mcfpit.0 */
&__clk_0_33, /* mcfpit.1 */
&__clk_0_37, /* mcfeport.0 */
@@ 135,8 +137,6 @@ static struct clk * const disable_clks[] __initconst = {
&__clk_0_17, /* edma */
&__clk_0_22, /* mcfi2c.0 */
&__clk_0_23, /* mcfqspi.0 */
- &__clk_0_28, /* mcftmr.0 */
- &__clk_0_29, /* mcftmr.1 */
&__clk_0_30, /* mcftmr.2 */
&__clk_0_31, /* mcftmr.3 */
&__clk_0_34, /* mcfpit.2 */
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev