
1 Jun
2017
1 Jun
'17
5:11 a.m.
On 29 May 2017 at 01:11, Michal Simek michal.simek@xilinx.com wrote:
Add support for calling poweroff in case of psci is wired. Based on the same solution as is used for reset.
Signed-off-by: Michal Simek michal.simek@xilinx.com
arch/arm/cpu/armv8/fwcall.c | 7 +++++++ arch/arm/lib/Makefile | 1 + arch/arm/lib/poweroff.c | 47 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 arch/arm/lib/poweroff.c
Reviewed-by: Simon Glass sjg@chromium.org
BTW I think we use printf() instead of puts() instead.