Commit 12d2b4e5 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Nicolas Pitre

ARM: mach-ixp4xx: properly disable CPU idle call

Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
parent 86ce0d2e
...@@ -236,6 +236,12 @@ void __init ixp4xx_init_irq(void) ...@@ -236,6 +236,12 @@ void __init ixp4xx_init_irq(void)
{ {
int i = 0; int i = 0;
/*
* ixp4xx does not implement the XScale PWRMODE register
* so it must not call cpu_do_idle().
*/
disable_hlt();
/* Route all sources to IRQ instead of FIQ */ /* Route all sources to IRQ instead of FIQ */
*IXP4XX_ICLR = 0x0; *IXP4XX_ICLR = 0x0;
......
...@@ -10,10 +10,5 @@ ...@@ -10,10 +10,5 @@
*/ */
static inline void arch_idle(void) static inline void arch_idle(void)
{ {
/* ixp4xx does not implement the XScale PWRMODE register,
* so it must not call cpu_do_idle() here.
*/
#if 0
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