diff options
author | Alexander Graf <agraf@suse.de> | 2016-08-16 21:08:46 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2016-10-18 09:08:08 +0200 |
commit | 51bfb5b6f522b1fbe453c18df03648d72b08131f (patch) | |
tree | c5be0a47dee5c0719f1370960f73614ce06802da /board | |
parent | 80a4800ee1526a4a46cd02b3ea2fd37eebb77504 (diff) | |
download | u-boot-51bfb5b6f522b1fbe453c18df03648d72b08131f.tar.gz u-boot-51bfb5b6f522b1fbe453c18df03648d72b08131f.tar.bz2 u-boot-51bfb5b6f522b1fbe453c18df03648d72b08131f.zip |
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>
Diffstat (limited to 'board')
-rw-r--r-- | board/xilinx/zynqmp/zynqmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 566b5e8d2a..94132f809f 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -430,5 +430,5 @@ int board_usb_cleanup(int index, enum usb_init_type init) void reset_misc(void) { - psci_system_reset(true); + psci_system_reset(); } |