Skip to content

Commit

Permalink
[ARM] 2949/1: Hynix h720x Run mode
Browse files Browse the repository at this point in the history
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: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Sascha Hauer authored and Russell King committed Oct 4, 2005
1 parent ed39f73 commit d78795b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions include/asm-arm/arch-h720x/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}


Expand Down

0 comments on commit d78795b

Please sign in to comment.