Yep one of these days iRex will grab the bull by the horns and update this code...
linux-2.4.19/arch/arm/mm/proc-xscale.S
Code:
/*
* cpu_xscale_do_idle(type)
*
* Cause the processor to idle
*
* type:
* 0 = slow idle
* 1 = fast idle
* 2 = switch to slow processor clock
* 3 = switch to fast processor clock
*
* For now we do nothing but go to idle mode for every case
*
* XScale supports clock switching, but using idle mode support
* allows external hardware to react to system state changes.
*/
.align 5
ENTRY(cpu_xscale_do_idle)
mov r0, #1
mcr p14, 0, r0, c7, c0, 0 @ Go to IDLE
mov pc, lr
iRex haven't released any details to enable me to even make an educated guess as to what to suggest they insert here. All I can do is plant a flag and see if they salute it.