Merge tag 'u-boot-rockchip-20200501' of https://gitlab.denx.de/u-boot/custodians...
[platform/kernel/u-boot.git] / drivers / rng / Kconfig
index 35a3bd1..e4b22d7 100644 (file)
@@ -6,17 +6,37 @@ config DM_RNG
          This interface is used to initialise the rng device and to
          read the random seed from the device.
 
+if DM_RNG
+
+config RNG_MESON
+       bool "Amlogic Meson Random Number Generator support"
+       depends on ARCH_MESON
+       default y
+       help
+         Enable support for hardware random number generator
+         of Amlogic Meson SoCs.
+
 config RNG_SANDBOX
        bool "Sandbox random number generator"
-       depends on SANDBOX && DM_RNG
-       select CONFIG_LIB_RAND
+       depends on SANDBOX
+       default y
        help
          Enable random number generator for sandbox. This is an
          emulation of a rng device.
 
 config RNG_STM32MP1
        bool "Enable random number generator for STM32MP1"
-       depends on ARCH_STM32MP && DM_RNG
+       depends on ARCH_STM32MP
        default n
        help
          Enable STM32MP1 rng driver.
+
+config RNG_ROCKCHIP
+       bool "Enable random number generator for rockchip crypto rng"
+       depends on ARCH_ROCKCHIP && DM_RNG
+       default n
+       help
+         Enable random number generator for rockchip.This driver is
+         support rng module of crypto v1 and crypto v2.
+
+endif