diff options
author | 2016-01-04 15:37:32 +0100 | |
---|---|---|
committer | 2016-01-04 16:19:57 +0000 | |
commit | 98dd64f34f47ce19b388d9015f767f48393a81eb (patch) | |
tree | f6a99f3324f5a02d75e3bafeeda8ba8e239a4e81 /drivers/firmware | |
parent | ARM: 8494/1: mm: Enable PXN when running non-LPAE kernel on LPAE processor (diff) | |
download | linux-98dd64f34f47ce19b388d9015f767f48393a81eb.tar.gz linux-98dd64f34f47ce19b388d9015f767f48393a81eb.tar.bz2 linux-98dd64f34f47ce19b388d9015f767f48393a81eb.zip |
ARM: 8478/2: arm/arm64: add arm-smccc
Adds helpers to do SMC and HVC based on ARM SMC Calling Convention.
CONFIG_HAVE_ARM_SMCCC is enabled for architectures that may support the
SMC or HVC instruction. It's the responsibility of the caller to know if
the SMC instruction is supported by the platform.
This patch doesn't provide an implementation of the declared functions.
Later patches will bring in implementations and set
CONFIG_HAVE_ARM_SMCCC for ARM and ARM64 respectively.
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index cf478fe6b335..49a3a1185bb6 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig @@ -173,6 +173,9 @@ config QCOM_SCM_64 def_bool y depends on QCOM_SCM && ARM64 +config HAVE_ARM_SMCCC + bool + source "drivers/firmware/broadcom/Kconfig" source "drivers/firmware/google/Kconfig" source "drivers/firmware/efi/Kconfig" |