diff options
author | Sergey Temerkhanov | 2015-10-14 09:55:46 -0700 |
---|---|---|
committer | Tom Rini | 2016-01-19 22:25:36 +0000 |
commit | a5b9fa30cebd91082f9fea93d7ef33812910da6a (patch) | |
tree | 7b3078e6a1328148acd2e5361bb4b73fb8bafa40 /arch/arm/cpu/armv8/Makefile | |
parent | 94f7ff36e521674a02145a3ff04b659c40122ba3 (diff) |
armv8: Add Secure Monitor/Hypervisor Call (SMC/HVC) infrastructure
This commit adds functions issuing calls to secure monitor or
hypervisore. This allows using services such as Power State
Coordination Interface (PSCI) provided by firmware, e.g. ARM
Trusted Firmware (ATF)
The SMC call can destroy all registers declared temporary by the
calling conventions. The clobber list is "x0..x17" because of
this
Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Diffstat (limited to 'arch/arm/cpu/armv8/Makefile')
-rw-r--r-- | arch/arm/cpu/armv8/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/Makefile b/arch/arm/cpu/armv8/Makefile index 48c041bb9b3..1c85aa924db 100644 --- a/arch/arm/cpu/armv8/Makefile +++ b/arch/arm/cpu/armv8/Makefile @@ -14,6 +14,7 @@ obj-y += exceptions.o obj-y += cache.o obj-y += tlb.o obj-y += transition.o +obj-y += fwcall.o obj-$(CONFIG_FSL_LAYERSCAPE) += fsl-layerscape/ obj-$(CONFIG_ARCH_ZYNQMP) += zynqmp/ |