hwrng: meson - Add Amlogic Meson Hardware Random Generator

Add support for the Amlogic Meson SoCs hardware random generator.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Neil Armstrong
2016-06-10 10:21:53 +02:00
committed by Herbert Xu
parent 5ad67c1451
commit e123be1612
3 changed files with 146 additions and 0 deletions

View File

@@ -396,6 +396,20 @@ config HW_RANDOM_PIC32
If unsure, say Y.
config HW_RANDOM_MESON
tristate "Amlogic Meson Random Number Generator support"
depends on HW_RANDOM
depends on ARCH_MESON || COMPILE_TEST
default y
---help---
This driver provides kernel-side support for the Random Number
Generator hardware found on Amlogic Meson SoCs.
To compile this driver as a module, choose M here. the
module will be called meson-rng.
If unsure, say Y.
endif # HW_RANDOM
config UML_RANDOM