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:
9d6163a
)
ARM: highbank: retry wfi on reset request
author
Rob Herring
<
[email protected]
>
Fri, 26 Oct 2012 03:20:37 +0000
(22:20 -0500)
committer
Olof Johansson
<
[email protected]
>
Tue, 6 Nov 2012 14:54:36 +0000
(06:54 -0800)
In some cases, an interrupt can occur and prevent cause failure to enter
wfi. This causes reset to hang. Retrying the wfi should be enough to
prevent reset from hanging.
Signed-off-by: Rob Herring <
[email protected]
>
Signed-off-by: Olof Johansson <
[email protected]
>
arch/arm/mach-highbank/system.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-highbank/system.c
b/arch/arm/mach-highbank/system.c
index 82c27230d4a93e657ca4c4a4e1e79439c422bbae..86e37cd9376cc7a522a17a65ca39cc127dd7deeb 100644
(file)
--- a/
arch/arm/mach-highbank/system.c
+++ b/
arch/arm/mach-highbank/system.c
@@
-28,6
+28,7
@@
void highbank_restart(char mode, const char *cmd)
hignbank_set_pwr_soft_reset();
scu_power_mode(scu_base_addr, SCU_PM_POWEROFF);
- cpu_do_idle();
+ while (1)
+ cpu_do_idle();
}