On 16 August 2016 at 13:08, Alexander Graf <ag...@suse.de> wrote:
> All systems that are running on armv8 are running bare metal with firmware
> that implements PSCI running in EL3. That means we don't really need to expose
> the hypercall variants of them.
>
> This patch leaves the code in, but makes the code explicit enough to have the
> compiler optimize it out. With this we don't need to worry about hvc vs smc
> calling convention when calling psci helper functions.
>
> Signed-off-by: Alexander Graf <ag...@suse.de>
> ---
>  arch/arm/cpu/armv8/fwcall.c   | 14 +++++++++++---
>  arch/arm/include/asm/system.h | 11 +----------
>  arch/arm/mach-meson/board.c   |  2 +-
>  board/xilinx/zynqmp/zynqmp.c  |  2 +-
>  4 files changed, 14 insertions(+), 15 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to