]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00178763: MX6-Fix TO1.0 boot-fail issue
authorRanjani Vaidyanathan <ra5478@freescale.com>
Mon, 2 Apr 2012 21:19:29 +0000 (16:19 -0500)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:25 +0000 (14:11 +0200)
TO1.0 parts donot boot properly after the following commit:
88d3af87222b37e454acd6a8de3b0cf18180da32
MX6-Switch ARM_CLK to PLL2_400MHz when ARM freq
is below 400MHz.

Correct gpt_clk was not getting enabled. Fix by adding the
appropriate gpt_clk.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
arch/arm/mach-mx6/clock.c

index fa99bb6015e056bffb9e5c9407844d035ab56b3f..c84d43a17c5c6ef21592539f1007ab7b4e96b769 100644 (file)
@@ -1934,6 +1934,7 @@ static struct clk gpt_clk[] = {
         .enable = _clk_enable,
         .disable = _clk_disable,
         .get_rate = _clk_gpt_get_rate,
+        .secondary = &gpt_clk[1],
         },
        {
        __INIT_CLK_DEBUG(gpt_serial_clk)