This patch enables the initial Timer on coldfire 532x systems. 
Without this, the scheduler will not be triggered and the system hangs,
after all sequential code is executed. It should also apply on later kernel
versions.
Please be patient if the patch is not matching the needed pattern as this is
my first patch. I am open for advice :-)

Regards,
Christian

Signed-off-by: Christian Gieseler <christiangiese...@yahoo.de>

--- linux-3.6.11/arch/m68k/platform/coldfire/m532x.c.orig       2013-04-16
10:38:16.604838828 +0200
+++ linux-3.6.11/arch/m68k/platform/coldfire/m532x.c    2013-04-16
10:39:08.354700290 +0200
@@ -119,7 +119,8 @@ static struct clk * const enable_clks[] 
        &__clk_0_24,    /* mcfuart.0 */
        &__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 +136,6 @@ static struct clk * const disable_clks[]
        &__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
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to