]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: Leave smccc calls in .text when efi_loader=n
authorAlexander Graf <agraf@suse.de>
Mon, 11 Feb 2019 14:13:58 +0000 (15:13 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 11 Feb 2019 14:57:47 +0000 (15:57 +0100)
commit08ffa62b050b933cbe26f8fb0d1b834f2d53e3ba
tree4153f0782dc08b0482d134312c4c50e5241cc35d
parent7412151d78bd688cf99ee7e46949362d1fe24873
arm: Leave smccc calls in .text when efi_loader=n

Commit 81ea00838c6 ("efi_loader: PSCI reset and shutdown") put the SMCCC
assembly code into the efi specific code section. This is wrong when we
do not have EFI_LOADER enabled, as that strips efi runtime sections from
the output binary

Reported-by: Michal Simek <monstr@monstr.eu>
Fixes: 81ea00838c6 ("efi_loader: PSCI reset and shutdown")
Signed-off-by: Alexander Graf <agraf@suse.de>
Reported-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tested-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv7/smccc-call.S
arch/arm/cpu/armv8/smccc-call.S