[PATCH] ARM i.MX51 babbage: Remove clock raise from power_init.

Alexander Shiyan shc_work at mail.ru
Sat Mar 24 05:53:05 EDT 2012


Because CPU frequency setup called after power initialization,
this call now is not necessary.

Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 arch/arm/boards/freescale-mx51-pdk/board.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boards/freescale-mx51-pdk/board.c b/arch/arm/boards/freescale-mx51-pdk/board.c
index 108af93..2ca4339 100644
--- a/arch/arm/boards/freescale-mx51-pdk/board.c
+++ b/arch/arm/boards/freescale-mx51-pdk/board.c
@@ -159,9 +159,6 @@ static void babbage_power_init(void)
 		val &= ~0x1f;
 		val |= 0x1a;
 		mc13892_reg_write(mc13892, MC13892_REG_SW_2, val);
-		udelay(50);
-		/* Raise the core frequency to 800MHz */
-		writel(0x0, MX51_CCM_BASE_ADDR + MX51_CCM_CACRR);
 	} else {
 		/* Setup VCC (SW2) to 1.225 */
 		mc13892_reg_read(mc13892, MC13892_REG_SW_1, &val);
-- 
1.7.3.4




More information about the barebox mailing list