summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-highbank
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-02-20 13:55:36 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-02-21 14:20:53 +0100
commit3f1f8821d65a4edb024db5a7978784f349f2acd2 (patch)
tree2829bd6bc1e03f35c9747471041fdbd4341ebf7a /arch/arm/mach-highbank
parentb1fccec3eec2459d20855a80b2d696ecee6580dd (diff)
downloadbarebox-3f1f8821d65a4edb024db5a7978784f349f2acd2.tar.gz
barebox-3f1f8821d65a4edb024db5a7978784f349f2acd2.tar.xz
highbank: add wfi for poweroff
needed by the real hardware Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-highbank')
-rw-r--r--arch/arm/mach-highbank/reset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-highbank/reset.c b/arch/arm/mach-highbank/reset.c
index 6aa275bc02..9163cba868 100644
--- a/arch/arm/mach-highbank/reset.c
+++ b/arch/arm/mach-highbank/reset.c
@@ -24,5 +24,7 @@ void __noreturn poweroff()
shutdown_barebox();
hingbank_set_pwr_shutdown();
+ asm(" wfi");
+
while(1);
}