projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed39f73
)
[ARM] 2949/1: Hynix h720x Run mode
author
Sascha Hauer
<sascha@saschahauer.de>
Tue, 4 Oct 2005 22:17:51 +0000
(23:17 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 4 Oct 2005 22:17:51 +0000
(23:17 +0100)
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>
include/asm-arm/arch-h720x/system.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/arch-h720x/system.h
b/include/asm-arm/arch-h720x/system.h
index 0b025e227ec20a8d168414ca9824b12e695446f0..09eda84592ffc03a0cb2f967d44d3f3d0f669197 100644
(file)
--- 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();
}