diff options
| author | Sughosh Ganu <[email protected]> | 2022-07-22 21:32:04 +0530 |
|---|---|---|
| committer | Ilias Apalodimas <[email protected]> | 2022-08-02 23:50:02 +0300 |
| commit | e67ffb5aa5ab03a89305f4575ad3142486f9a306 (patch) | |
| tree | 624c26edcc914c27bcdd0a8a04e4490995572d84 /drivers/rng/Makefile | |
| parent | 5d98329196daaf624c39304aec1397d6363b3e72 (diff) | |
tpm: rng: Add driver model interface for TPM RNG device
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 <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'drivers/rng/Makefile')
| -rw-r--r-- | drivers/rng/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rng/Makefile b/drivers/rng/Makefile index 2494717d7c7..78f61051acf 100644 --- a/drivers/rng/Makefile +++ b/drivers/rng/Makefile @@ -13,3 +13,4 @@ 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 |
