hwrng: rockchip - add support for Rockchip HW RNG

Change-Id: Ia14bd624716eb6531ef8674843ccfbada3197d8e
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
This commit is contained in:
Lin Jinhan
2018-08-24 09:15:03 +08:00
committed by Tao Huang
parent 6c14d5d76c
commit e12e07ff48
2 changed files with 13 additions and 0 deletions

View File

@@ -536,6 +536,18 @@ config HW_RANDOM_XIPHERA
To compile this driver as a module, choose M here: the
module will be called xiphera-trng.
config HW_RANDOM_ROCKCHIP
tristate "Rockchip Random Number Generator support"
depends on ARCH_ROCKCHIP
help
This driver provides kernel-side support for the Random Number
Generator hardware found on Rockchip cpus.
To compile this driver as a module, choose M here: the
module will be called rockchip-rng.
If unsure, say Y.
endif # HW_RANDOM
config UML_RANDOM

View File

@@ -46,3 +46,4 @@ obj-$(CONFIG_HW_RANDOM_OPTEE) += optee-rng.o
obj-$(CONFIG_HW_RANDOM_NPCM) += npcm-rng.o
obj-$(CONFIG_HW_RANDOM_CCTRNG) += cctrng.o
obj-$(CONFIG_HW_RANDOM_XIPHERA) += xiphera-trng.o
obj-$(CONFIG_HW_RANDOM_ROCKCHIP) += rockchip-rng.o