[U-Boot] [PATCH] arm: Add support for poweroff via PSCI

Simon Glass sjg at chromium.org
Thu Jun 1 03:11:29 UTC 2017


On 29 May 2017 at 01:11, Michal Simek <michal.simek at 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 at 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 at chromium.org>

BTW I think we use printf() instead of puts() instead.


More information about the U-Boot mailing list