UPSTREAM: lib: add poweroff() declaration

Add a function to power off the system within the halt.h header.

BUG=chrome-os-partner:54977

Change-Id: I21ca9de38d4ca67c77272031cc20f3f1d015f8fa
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/15684
Original-Reviewed-by: Furquan Shaikh <furquan@google.com>
Original-Tested-by: build bot (Jenkins)
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/360844
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
This commit is contained in:
Aaron Durbin 2016-07-13 12:00:49 -05:00 committed by chrome-bot
commit c1a53bdcf0

View file

@ -25,4 +25,8 @@
*/
void __attribute__((noreturn)) halt(void);
#endif /* __ROMCC__ */
/* Power off the system. */
void poweroff(void);
#endif /* __HALT_H__ */