Skip to contentSkip to conversation

ARM: mm: cpu_fa526_do_idle: remove WFI

PATCH New Jonas Jensen 1 participant 1 message Jun 18, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: mm: cpu_fa526_do_idle: remove WFI

As it was already suggested by Russell King and Arnd Bergmann:

https://lkml.org/lkml/2013/5/16/133

moxart and gemini seem to be the only platforms using CPU_FA526, and instead of pointing arm_pm_idle to an empty function from platform code, it makes sense to remove WFI code from the processor specific idle function.

Applies to arm-soc/for-next.

Changes since v1:

1. remove WFI but make sure cpu_fa526_do_idle do not fall through to cpu_fa526_dcache_clean_area

Note: moxart boots and prints to UART without this patch, but input is broken.

---
 arch/arm/mm/proc-fa526.S |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mm/proc-fa526.S +0 -1
index d217e97..aaeb6c1 100644
@@ -81,7 +81,6 @@ ENDPROC(cpu_fa526_reset)
  */
 	.align	4
 ENTRY(cpu_fa526_do_idle)
-	mcr	p15, 0, r0, c7, c0, 4		@ Wait for interrupt
 	mov	pc, lr
 
 
Signature · 1 line
1.7.2.5