mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/1] highbank: add wfi for poweroff
@ 2013-02-20 12:55 Jean-Christophe PLAGNIOL-VILLARD
  2013-02-20 14:09 ` Rob Herring
  2013-02-21 13:23 ` Sascha Hauer
  0 siblings, 2 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2013-02-20 12:55 UTC (permalink / raw)
  To: barebox; +Cc: Rob Herring

needed by the real hardware

Cc: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/mach-highbank/reset.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-highbank/reset.c b/arch/arm/mach-highbank/reset.c
index 630672a..b9664e4 100644
--- a/arch/arm/mach-highbank/reset.c
+++ b/arch/arm/mach-highbank/reset.c
@@ -23,5 +23,7 @@ void __noreturn poweroff()
 	shutdown_barebox();
 
 	hingbank_set_pwr_shutdown();
+	asm("	wfi");
+
 	while(1);
 }
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-21 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-20 12:55 [PATCH 1/1] highbank: add wfi for poweroff Jean-Christophe PLAGNIOL-VILLARD
2013-02-20 14:09 ` Rob Herring
2013-02-20 14:22   ` Jean-Christophe PLAGNIOL-VILLARD
2013-02-21 13:23 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox