9
0
Fork 0

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>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2013-02-20 13:55:36 +01:00 committed by Sascha Hauer
parent b1fccec3ee
commit 3f1f8821d6
1 changed files with 2 additions and 0 deletions

View File

@ -24,5 +24,7 @@ void __noreturn poweroff()
shutdown_barebox();
hingbank_set_pwr_shutdown();
asm(" wfi");
while(1);
}