• Alexander Graf's avatar
    arm: Disable HVC PSCI calls by default · 51bfb5b6
    Alexander Graf authored
    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: 's avatarAlexander Graf <agraf@suse.de>
    Reviewed-by: 's avatarSimon Glass <sjg@chromium.org>
board.c 1.36 KB