On 1.6.2017 05:11, Simon Glass wrote:
> On 29 May 2017 at 01:11, Michal Simek <michal.si...@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.si...@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 <s...@chromium.org>
> 
> BTW I think we use printf() instead of puts() instead.

Thanks for review.

This is what was used in reset.c and normally puts is used for simple
prints. If this is something what we should use then I think that will
be the best to run one big sed and replace all puts by printfs
and deprecate it.

Thanks,
Michal



_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to