summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/Makefile
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2019-01-29 06:49:38 +0100
committerJens Wiklander <jens.wiklander@linaro.org>2019-02-01 15:12:46 +0100
commit5fe8b1cc6a03c46b3061e808256d39dcebd0d0f0 (patch)
tree02259dbae37297a4cfbae43a53db81a594dca0c4 /drivers/char/hw_random/Makefile
parenttee: optee: add TEE bus device enumeration support (diff)
downloadlinux-5fe8b1cc6a03c46b3061e808256d39dcebd0d0f0.tar.xz
linux-5fe8b1cc6a03c46b3061e808256d39dcebd0d0f0.zip
hwrng: add OP-TEE based rng driver
On ARM SoC's with TrustZone enabled, peripherals like entropy sources might not be accessible to normal world (linux in this case) and rather accessible to secure world (OP-TEE in this case) only. So this driver aims to provides a generic interface to OP-TEE based random number generator service. This driver registers on TEE bus to interact with OP-TEE based rng device/service. Signed-off-by: Sumit Garg <sumit.garg@linaro.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/char/hw_random/Makefile')
-rw-r--r--drivers/char/hw_random/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/Makefile b/drivers/char/hw_random/Makefile
index e35ec3ce3a20..7c9ef4a7667f 100644
--- a/drivers/char/hw_random/Makefile
+++ b/drivers/char/hw_random/Makefile
@@ -38,3 +38,4 @@ obj-$(CONFIG_HW_RANDOM_CAVIUM) += cavium-rng.o cavium-rng-vf.o
obj-$(CONFIG_HW_RANDOM_MTK) += mtk-rng.o
obj-$(CONFIG_HW_RANDOM_S390) += s390-trng.o
obj-$(CONFIG_HW_RANDOM_KEYSTONE) += ks-sa-rng.o
+obj-$(CONFIG_HW_RANDOM_OPTEE) += optee-rng.o