diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-02-20 13:55:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-21 14:20:53 +0100 |
commit | 3f1f8821d65a4edb024db5a7978784f349f2acd2 (patch) | |
tree | 2829bd6bc1e03f35c9747471041fdbd4341ebf7a /arch/arm/mach-highbank | |
parent | b1fccec3eec2459d20855a80b2d696ecee6580dd (diff) | |
download | barebox-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.c | 2 |
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); } |