2010年1月8日 星期五

patch for "timeout waiting for hardware interrupt" on esdhc4

Typing error on clock setting.

Please change red color esdhc3 to esdhc4.

In arch/arm/mach-mx51/clcok.c

static struct clk esdhc4_clk[] = {
{
.name = "esdhc_clk",
.id = 3,
.parent = &esdhc1_clk[0],
.set_parent = _clk_esdhc4_set_parent,
.enable = _clk_enable,
.enable_reg = MXC_CCM_CCGR3,
.enable_shift = MXC_CCM_CCGR3_CG7_OFFSET,
.disable = _clk_disable,
.secondary = &esdhc3_clk[1],
.flags = AHB_HIGH_SET_POINT | CPU_FREQ_TRIG_UPDATE,
},
{
.name = "esdhc_ipg_clk",
.id = 3,
.parent = &ipg_clk,
.secondary = &esdhc3_clk[2],
.enable = _clk_enable,
.enable_reg = MXC_CCM_CCGR3,
.enable_shift = MXC_CCM_CCGR3_CG6_OFFSET,
.disable = _clk_disable,
},
{
.name = "esdhc_sec_clk",
.id = 0,
.parent = &tmax3_clk,
.secondary = &esdhc_dep_clks,
},
};

沒有留言:

張貼留言