Skip to content

Commit

Permalink
drivers: entropy: Remove Kconfig HAS_DTS_ENTROPY
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
galak committed Apr 13, 2020
1 parent 43a7d26 commit 8b6930e
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 24 deletions.
7 changes: 0 additions & 7 deletions drivers/entropy/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,4 @@ config ENTROPY_HAS_DRIVER
This is an option to be enabled by individual 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
1 change: 0 additions & 1 deletion drivers/entropy/Kconfig.cc13xx_cc26xx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ config ENTROPY_CC13XX_CC26XX_RNG
bool "TI SimpleLink CC13xx / CC26xx True Random Number Generator (TRNG)"
depends on SOC_SERIES_CC13X2_CC26X2
select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
select RING_BUFFER
help
This option enables the driver for the True Random Number Generator (TRNG)
Expand Down
1 change: 0 additions & 1 deletion drivers/entropy/Kconfig.esp32
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ config ENTROPY_ESP32_RNG
bool "ESP32 entropy number generator driver"
depends on SOC_ESP32
select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help
This option enables the entropy number generator for ESP32 SoCs.

Expand Down
1 change: 0 additions & 1 deletion drivers/entropy/Kconfig.gecko
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ config ENTROPY_GECKO_TRNG
bool "GECKO TRNG driver"
depends on SOC_GECKO_TRNG
select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
default y
help
This option enables the true random number generator
Expand Down
2 changes: 0 additions & 2 deletions drivers/entropy/Kconfig.mcux
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ config ENTROPY_MCUX_RNGA
bool "MCUX RNGA driver"
depends on HAS_MCUX_RNGA
select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help
This option enables the random number generator accelerator (RNGA)
driver based on the MCUX RNGA driver.
Expand All @@ -16,7 +15,6 @@ config ENTROPY_MCUX_TRNG
bool "MCUX TRNG driver"
depends on HAS_MCUX_TRNG
select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help
This option enables the true random number generator (TRNG)
driver based on the MCUX TRNG driver.
1 change: 0 additions & 1 deletion drivers/entropy/Kconfig.native_posix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ config FAKE_ENTROPY_NATIVE_POSIX
bool "Native posix entropy driver"
depends on ARCH_POSIX
select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help
This option enables the test random number generator for the
native_posix board (ARCH_POSIX). This is based on the host random() API.
Expand Down
1 change: 0 additions & 1 deletion drivers/entropy/Kconfig.nrf5
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ menuconfig ENTROPY_NRF5_RNG
depends on !ENTROPY_NRF_FORCE_ALT
depends on HAS_HW_NRF_RNG
select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
default y
help
This option enables the RNG peripheral, which is a random number
Expand Down
1 change: 0 additions & 1 deletion drivers/entropy/Kconfig.rv32m1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ config ENTROPY_RV32M1_TRNG
bool "RV32M1 TRNG driver"
depends on SOC_OPENISA_RV32M1_RISCV32
select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help
This option enables the true random number generator (TRNG)
driver based on the RV32M1 TRNG driver.
Expand Down
1 change: 0 additions & 1 deletion drivers/entropy/Kconfig.sam
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ config ENTROPY_SAM_RNG
bool "Atmel SAM MCU Family True Random Number Generator (TRNG) Driver"
depends on SOC_FAMILY_SAM || SOC_FAMILY_SAM0
select ENTROPY_HAS_DRIVER
select HAS_DTS_ENTROPY
help
Enable True Random Number Generator (TRNG) driver for Atmel SAM MCUs.
1 change: 0 additions & 1 deletion drivers/entropy/Kconfig.stm32
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ config ENTROPY_STM32_RNG
depends on SOC_FAMILY_STM32
select ENTROPY_HAS_DRIVER
select USE_STM32_LL_RNG
select HAS_DTS_ENTROPY
default $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_RNG))
help
This option enables the RNG processor, which is a entropy number
Expand Down
7 changes: 0 additions & 7 deletions dts/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,3 @@ config HAS_DTS_WDT
help
This option specifies that the target platform supports device tree
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.

0 comments on commit 8b6930e

Please sign in to comment.