]> git.sur5r.net Git - u-boot/commit
arm: Disable HVC PSCI calls by default
authorAlexander Graf <agraf@suse.de>
Tue, 16 Aug 2016 19:08:46 +0000 (21:08 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 18 Oct 2016 07:08:08 +0000 (09:08 +0200)
commit51bfb5b6f522b1fbe453c18df03648d72b08131f
treec5be0a47dee5c0719f1370960f73614ce06802da
parent80a4800ee1526a4a46cd02b3ea2fd37eebb77504
arm: Disable HVC PSCI calls by default

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 <agraf@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/armv8/fwcall.c
arch/arm/include/asm/system.h
arch/arm/mach-meson/board.c
board/xilinx/zynqmp/zynqmp.c