Commit d78795b6 authored by Sascha Hauer's avatar Sascha Hauer Committed by Russell King

[ARM] 2949/1: Hynix h720x Run mode

Patch from Sascha Hauer

After coming out of idle mode the h720x goes into slow mode. Switch
it back to run mode.
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent ed39f731
...@@ -17,9 +17,11 @@ ...@@ -17,9 +17,11 @@
static void arch_idle(void) static void arch_idle(void)
{ {
CPU_REG (PMU_BASE, PMU_MODE) = PMU_MODE_IDLE; CPU_REG (PMU_BASE, PMU_MODE) = PMU_MODE_IDLE;
__asm__ __volatile__( nop();
"mov r0, r0\n\t" nop();
"mov r0, r0"); CPU_REG (PMU_BASE, PMU_MODE) = PMU_MODE_RUN;
nop();
nop();
} }
......
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