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:
parent
b1fccec3ee
commit
3f1f8821d6
|
@ -24,5 +24,7 @@ void __noreturn poweroff()
|
|||
shutdown_barebox();
|
||||
|
||||
hingbank_set_pwr_shutdown();
|
||||
asm(" wfi");
|
||||
|
||||
while(1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue