mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 20:13:39 +00:00
e67ffb5aa5
The TPM device has a builtin random number generator(RNG) functionality. Expose the RNG functions of the TPM device to the driver model so that they can be used by the EFI_RNG_PROTOCOL if the protocol is installed. Also change the function arguments and return type of the random number functions to comply with the driver model api. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
16 lines
523 B
Makefile
16 lines
523 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2019, Linaro Limited
|
|
#
|
|
|
|
obj-$(CONFIG_DM_RNG) += rng-uclass.o
|
|
obj-$(CONFIG_RNG_MESON) += meson-rng.o
|
|
obj-$(CONFIG_RNG_SANDBOX) += sandbox_rng.o
|
|
obj-$(CONFIG_RNG_MSM) += msm_rng.o
|
|
obj-$(CONFIG_RNG_NPCM) += npcm_rng.o
|
|
obj-$(CONFIG_RNG_OPTEE) += optee_rng.o
|
|
obj-$(CONFIG_RNG_STM32MP1) += stm32mp1_rng.o
|
|
obj-$(CONFIG_RNG_ROCKCHIP) += rockchip_rng.o
|
|
obj-$(CONFIG_RNG_IPROC200) += iproc_rng200.o
|
|
obj-$(CONFIG_RNG_SMCCC_TRNG) += smccc_trng.o
|
|
obj-$(CONFIG_TPM_RNG) += tpm_rng.o
|