diff options
| author | Heinrich Schuchardt <[email protected]> | 2023-10-31 14:55:52 +0200 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2023-11-02 16:22:06 +0800 |
| commit | ceec977ba1a994df423cd8558f72d6582e63da08 (patch) | |
| tree | 5a776fd8812046f5bd06ecc8163551d0dab070f4 /drivers/rng/Makefile | |
| parent | 9757cae991669f9a3d2b981b77231ee891d0597d (diff) | |
rng: Provide a RNG based on the RISC-V Zkr ISA extension
The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It
provides an interface to a physical entropy source.
A RNG driver based on the seed CSR is provided. It depends on
mseccfg.sseed being set in the SBI firmware.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[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 47b323e61ee..a5d3ca41308 100644 --- a/drivers/rng/Makefile +++ b/drivers/rng/Makefile @@ -10,6 +10,7 @@ obj-$(CONFIG_RNG_MSM) += msm_rng.o obj-$(CONFIG_RNG_NPCM) += npcm_rng.o obj-$(CONFIG_RNG_OPTEE) += optee_rng.o obj-$(CONFIG_RNG_STM32) += stm32_rng.o +obj-$(CONFIG_RNG_RISCV_ZKR) += riscv_zkr_rng.o obj-$(CONFIG_RNG_ROCKCHIP) += rockchip_rng.o obj-$(CONFIG_RNG_IPROC200) += iproc_rng200.o obj-$(CONFIG_RNG_SMCCC_TRNG) += smccc_trng.o |
