From: Allen Xu Date: Wed, 18 Apr 2012 02:15:27 +0000 (+0800) Subject: ENGR00180096 change NAND clock source to pll2_pfd_400M X-Git-Tag: v3.0.35-fsl~1167 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f707b8ce10fabda659bbb67bec2dd0ff550b594d;p=karo-tx-linux.git ENGR00180096 change NAND clock source to pll2_pfd_400M change clock source explicitly by calling set_parent() function Signed-off-by: Allen Xu --- diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c index 20cfc5511c30..9fea5601c2a3 100644 --- a/arch/arm/mach-mx6/clock.c +++ b/arch/arm/mach-mx6/clock.c @@ -3873,7 +3873,7 @@ static int _clk_enfc_set_rate(struct clk *clk, unsigned long rate) static struct clk enfc_clk = { __INIT_CLK_DEBUG(enfc_clk) .id = 0, - .parent = &pll2_pfd_400M, + .parent = &pll2_pfd_352M, .enable_reg = MXC_CCM_CCGR2, .enable_shift = MXC_CCM_CCGRx_CG7_OFFSET, .enable = _clk_enable, @@ -5236,6 +5236,7 @@ int __init mx6_clocks_init(unsigned long ckil, unsigned long osc, clk_set_rate(&asrc_clk[1], 7500000); /* set the GPMI clock to default frequency : 20MHz */ + clk_set_parent(&enfc_clk, &pll2_pfd_400M); clk_set_rate(&enfc_clk, enfc_clk.round_rate(&enfc_clk, 20000000)); mx6_cpu_op_init();