drivers: entropy: Remove Kconfig HAS_DTS_ENTROPY

Now that all entropy drivers use DTS we can remove HAS_DTS_ENTROPY being
set everywhere as well as Kconfig ENTROPY_NAME since that is now coming
from DT_ENTROPY_NAME.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-04-06 09:55:11 -05:00 committed by Kumar Gala
commit 8b6930ebef
11 changed files with 0 additions and 24 deletions

View file

@ -27,11 +27,4 @@ config ENTROPY_HAS_DRIVER
This is an option to be enabled by individual entropy driver This is an option to be enabled by individual entropy driver
to signal that there is a true entropy driver. to signal that there is a true entropy driver.
config ENTROPY_NAME
string "Entropy Device Name"
default "ENTROPY_0"
depends on !HAS_DTS_ENTROPY
help
Specify the device name to be used for the ENTROPY driver.
endif endif

View file

@ -7,7 +7,6 @@ config ENTROPY_CC13XX_CC26XX_RNG
bool "TI SimpleLink CC13xx / CC26xx True Random Number Generator (TRNG)" bool "TI SimpleLink CC13xx / CC26xx True Random Number Generator (TRNG)"
depends on SOC_SERIES_CC13X2_CC26X2 depends on SOC_SERIES_CC13X2_CC26X2
select ENTROPY_HAS_DRIVER select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
select RING_BUFFER select RING_BUFFER
help help
This option enables the driver for the True Random Number Generator (TRNG) This option enables the driver for the True Random Number Generator (TRNG)

View file

@ -7,7 +7,6 @@ config ENTROPY_ESP32_RNG
bool "ESP32 entropy number generator driver" bool "ESP32 entropy number generator driver"
depends on SOC_ESP32 depends on SOC_ESP32
select ENTROPY_HAS_DRIVER select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help help
This option enables the entropy number generator for ESP32 SoCs. This option enables the entropy number generator for ESP32 SoCs.

View file

@ -7,7 +7,6 @@ config ENTROPY_GECKO_TRNG
bool "GECKO TRNG driver" bool "GECKO TRNG driver"
depends on SOC_GECKO_TRNG depends on SOC_GECKO_TRNG
select ENTROPY_HAS_DRIVER select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
default y default y
help help
This option enables the true random number generator This option enables the true random number generator

View file

@ -7,7 +7,6 @@ config ENTROPY_MCUX_RNGA
bool "MCUX RNGA driver" bool "MCUX RNGA driver"
depends on HAS_MCUX_RNGA depends on HAS_MCUX_RNGA
select ENTROPY_HAS_DRIVER select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help help
This option enables the random number generator accelerator (RNGA) This option enables the random number generator accelerator (RNGA)
driver based on the MCUX RNGA driver. driver based on the MCUX RNGA driver.
@ -16,7 +15,6 @@ config ENTROPY_MCUX_TRNG
bool "MCUX TRNG driver" bool "MCUX TRNG driver"
depends on HAS_MCUX_TRNG depends on HAS_MCUX_TRNG
select ENTROPY_HAS_DRIVER select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help help
This option enables the true random number generator (TRNG) This option enables the true random number generator (TRNG)
driver based on the MCUX TRNG driver. driver based on the MCUX TRNG driver.

View file

@ -4,7 +4,6 @@ config FAKE_ENTROPY_NATIVE_POSIX
bool "Native posix entropy driver" bool "Native posix entropy driver"
depends on ARCH_POSIX depends on ARCH_POSIX
select ENTROPY_HAS_DRIVER select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help help
This option enables the test random number generator for the This option enables the test random number generator for the
native_posix board (ARCH_POSIX). This is based on the host random() API. native_posix board (ARCH_POSIX). This is based on the host random() API.

View file

@ -16,7 +16,6 @@ menuconfig ENTROPY_NRF5_RNG
depends on !ENTROPY_NRF_FORCE_ALT depends on !ENTROPY_NRF_FORCE_ALT
depends on HAS_HW_NRF_RNG depends on HAS_HW_NRF_RNG
select ENTROPY_HAS_DRIVER select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
default y default y
help help
This option enables the RNG peripheral, which is a random number This option enables the RNG peripheral, which is a random number

View file

@ -7,7 +7,6 @@ config ENTROPY_RV32M1_TRNG
bool "RV32M1 TRNG driver" bool "RV32M1 TRNG driver"
depends on SOC_OPENISA_RV32M1_RISCV32 depends on SOC_OPENISA_RV32M1_RISCV32
select ENTROPY_HAS_DRIVER select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help help
This option enables the true random number generator (TRNG) This option enables the true random number generator (TRNG)
driver based on the RV32M1 TRNG driver. driver based on the RV32M1 TRNG driver.

View file

@ -7,6 +7,5 @@ config ENTROPY_SAM_RNG
bool "Atmel SAM MCU Family True Random Number Generator (TRNG) Driver" bool "Atmel SAM MCU Family True Random Number Generator (TRNG) Driver"
depends on SOC_FAMILY_SAM || SOC_FAMILY_SAM0 depends on SOC_FAMILY_SAM || SOC_FAMILY_SAM0
select ENTROPY_HAS_DRIVER select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help help
Enable True Random Number Generator (TRNG) driver for Atmel SAM MCUs. Enable True Random Number Generator (TRNG) driver for Atmel SAM MCUs.

View file

@ -10,7 +10,6 @@ config ENTROPY_STM32_RNG
depends on SOC_FAMILY_STM32 depends on SOC_FAMILY_STM32
select ENTROPY_HAS_DRIVER select ENTROPY_HAS_DRIVER
select USE_STM32_LL_RNG select USE_STM32_LL_RNG
select HAS_DTS_ENTROPY
default $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_RNG)) default $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_RNG))
help help
This option enables the RNG processor, which is a entropy number This option enables the RNG processor, which is a entropy number

View file

@ -26,10 +26,3 @@ config HAS_DTS_WDT
help help
This option specifies that the target platform supports device tree This option specifies that the target platform supports device tree
configuration for WDT. configuration for WDT.
config HAS_DTS_ENTROPY
bool
depends on HAS_DTS
help
This option specifies that the target platform supports device tree
configuration for entropy/random number.