summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Lee <rob.lee@linaro.org>2011-10-18 22:34:35 -0500
committerRobert Lee <rob.lee@linaro.org>2011-10-19 00:23:37 -0500
commit27b98ed0c5f3e22bf12e1ef5d4eddff06c1a021d (patch)
tree1f686df0cb8446874bf74e6ebf8efe69d0a3d81c
parent1d8c56e3677055e430998c219898b1ac770dbaa8 (diff)
ARM: imx: Add cpuidle for i.MX51
Add imx cpuidle init call for i.MX51 SoC Signed-off-by: Robert Lee <rob.lee@linaro.org>
-rw-r--r--arch/arm/mach-mx5/mm.c4
1 files changed, 4 insertions, 0 deletions
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 <mach/common.h>
#include <mach/devices-common.h>
#include <mach/iomux-v3.h>
+#include <mach/cpuidle.h>
+#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)