Commit 86ce0d2e authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Nicolas Pitre

ARM: mach-ixp23xx: properly disable CPU idle call

Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
parent 25eb433a
...@@ -441,6 +441,9 @@ static struct platform_device *ixp23xx_devices[] __initdata = { ...@@ -441,6 +441,9 @@ static struct platform_device *ixp23xx_devices[] __initdata = {
void __init ixp23xx_sys_init(void) void __init ixp23xx_sys_init(void)
{ {
/* by default, the idle code is disabled */
disable_hlt();
*IXP23XX_EXP_UNIT_FUSE |= 0xf; *IXP23XX_EXP_UNIT_FUSE |= 0xf;
platform_add_devices(ixp23xx_devices, ARRAY_SIZE(ixp23xx_devices)); platform_add_devices(ixp23xx_devices, ARRAY_SIZE(ixp23xx_devices));
} }
......
...@@ -9,8 +9,5 @@ ...@@ -9,8 +9,5 @@
*/ */
static inline void arch_idle(void) static inline void arch_idle(void)
{ {
#if 0
if (!hlt_counter)
cpu_do_idle(); cpu_do_idle();
#endif
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment