summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-h720x/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-h720x/system.h')
-rw-r--r--include/asm-arm/arch-h720x/system.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/asm-arm/arch-h720x/system.h b/include/asm-arm/arch-h720x/system.h
index 0b025e227ec..09eda84592f 100644
--- a/include/asm-arm/arch-h720x/system.h
+++ b/include/asm-arm/arch-h720x/system.h
@@ -17,9 +17,11 @@
static void arch_idle(void)
{
CPU_REG (PMU_BASE, PMU_MODE) = PMU_MODE_IDLE;
- __asm__ __volatile__(
- "mov r0, r0\n\t"
- "mov r0, r0");
+ nop();
+ nop();
+ CPU_REG (PMU_BASE, PMU_MODE) = PMU_MODE_RUN;
+ nop();
+ nop();
}