1
0
Fork 0
forked from len0rd/rockbox
Change-Id: I1ee070291d70b2e30ac2096aa8b3b89e6fcdeff1
This commit is contained in:
Amaury Pouly 2012-08-30 21:17:34 +02:00
parent 16dc22f2be
commit 8723132aaa

View file

@ -164,7 +164,6 @@ void set_cpu_frequency(long frequency)
/* go back to a known state: everything at 24MHz ! */ /* go back to a known state: everything at 24MHz ! */
imx233_clkctrl_set_bypass_pll(CLK_CPU, true); imx233_clkctrl_set_bypass_pll(CLK_CPU, true);
imx233_clkctrl_set_clock_divisor(CLK_HBUS, 1); imx233_clkctrl_set_clock_divisor(CLK_HBUS, 1);
_logf("set freq 454MHz");
/* set VDDD to 1.550 mV (brownout at 1.450 mV) */ /* set VDDD to 1.550 mV (brownout at 1.450 mV) */
imx233_power_set_regulator(REGULATOR_VDDD, 1550, 1450); imx233_power_set_regulator(REGULATOR_VDDD, 1550, 1450);
/* clk_h@clk_p/2 */ /* clk_h@clk_p/2 */
@ -183,7 +182,6 @@ void set_cpu_frequency(long frequency)
/* go back to a known state: everything at 24MHz ! */ /* go back to a known state: everything at 24MHz ! */
imx233_clkctrl_set_bypass_pll(CLK_CPU, true); imx233_clkctrl_set_bypass_pll(CLK_CPU, true);
imx233_clkctrl_set_clock_divisor(CLK_HBUS, 1); imx233_clkctrl_set_clock_divisor(CLK_HBUS, 1);
_logf("set freq 261MHz");
/* set VDDD to 1.550 mV (brownout at 1.275 mV) */ /* set VDDD to 1.550 mV (brownout at 1.275 mV) */
imx233_power_set_regulator(REGULATOR_VDDD, 1275, 1175); imx233_power_set_regulator(REGULATOR_VDDD, 1275, 1175);
/* clk_h@clk_p/2 */ /* clk_h@clk_p/2 */