From 27b98ed0c5f3e22bf12e1ef5d4eddff06c1a021d Mon Sep 17 00:00:00 2001 From: Robert Lee Date: Tue, 18 Oct 2011 22:34:35 -0500 Subject: ARM: imx: Add cpuidle for i.MX51 Add imx cpuidle init call for i.MX51 SoC Signed-off-by: Robert Lee --- arch/arm/mach-mx5/mm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-mx5/mm.c b/arch/arm/mach-mx5/mm.c index baea6e5cddd..29bb785a398 100644 --- a/arch/arm/mach-mx5/mm.c +++ b/arch/arm/mach-mx5/mm.c @@ -20,6 +20,8 @@ #include #include #include +#include +#include "cpuidle.h" /* * Define the MX51 memory map. @@ -148,6 +150,8 @@ void __init imx51_soc_init(void) /* i.mx51 has the i.mx35 type sdma */ imx_add_imx_sdma("imx35-sdma", MX51_SDMA_BASE_ADDR, MX51_INT_SDMA, &imx51_sdma_pdata); + + imx_cpuidle_init(&mx5_cpuidle_data); } void __init imx53_soc_init(void) -- cgit v1.2.3