Re: [U-Boot] CPU Sleep in ARM Cortex A8

2009-10-12 Thread Magnus Lilja
Hi 2009/10/12 akshay ts : > Hi, > I want to know what is the instruction for sleeping in ARM Cortex A8. > I did execute a WFI instruction seems to be a NOP. > void cpu_idle() > { >    unsigned long tmp = 0; >    asm("b 1f\n\t" >            ".align 5\n\t" >            "1:\n\t" >            "mcr p15

[U-Boot] CPU Sleep in ARM Cortex A8

2009-10-12 Thread akshay ts
Hi, I want to know what is the instruction for sleeping in ARM Cortex A8. I did execute a WFI instruction seems to be a NOP. void cpu_idle() { unsigned long tmp = 0; asm("b 1f\n\t" ".align 5\n\t" "1:\n\t" "mcr p15, 0, %0, c7, c10, 5\n\t" "mcr