arm/imx: remove cpu_is_xxx() from arch_idle()

This patch adds an idle hook imx_idle to be called in arch_idle().
Any soc that needs a customized idle implementation other than
cpu_do_idle() can set up this hook in soc specific call.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Shawn Guo
2011-09-28 17:16:06 +08:00
committed by Sascha Hauer
parent ddd5f51bf6
commit 41e7daf27a
9 changed files with 56 additions and 41 deletions

View File

@@ -28,6 +28,8 @@
#include <asm/system.h>
#include <asm/mach-types.h>
void (*imx_idle)(void) = NULL;
static void __iomem *wdog_base;
/*