summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2011-12-07 15:18:25 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 21:09:49 +0800
commit58ce7a544efa4db7021a97572bb9e5300dc34c4f (patch)
treeda9abdd359ac62bae9decf8239a57bd00919ab19 /arch/arm
parent9432628576e621210a569444c7760039d469478c (diff)
ENGR00162181-3 MX6Q/GPMI : decrease the DMA clock from 200M to 11M
This is just a workaroud for the DMA timeout. Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-mx6/clock.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c
index 12a8d3583921..67d86b3e067c 100644
--- a/arch/arm/mach-mx6/clock.c
+++ b/arch/arm/mach-mx6/clock.c
@@ -4794,7 +4794,6 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK("mxs-perfmon.2", "perfmon", perfmon2_clk),
};
-
static void clk_tree_init(void)
{
@@ -4886,9 +4885,12 @@ int __init mx6_clocks_init(unsigned long ckil, unsigned long osc,
clk_set_parent(&asrc_clk[1], &pll3_sw_clk);
clk_set_rate(&asrc_clk[1], 7500000);
- /* set the NAND to 11MHz. Too fast will cause dma timeout. */
+ /* set the GPMI clock to : 11MHz */
clk_set_rate(&enfc_clk, enfc_clk.round_rate(&enfc_clk, 11000000));
+ /* set the DMA clock */
+ clk_set_rate(&usdhc3_clk, usdhc3_clk.round_rate(&usdhc3_clk, 11000000));
+
mx6_cpu_op_init();
cpu_op_tbl = get_cpu_op(&cpu_op_nr);