entropy: remove Kconfig.defconfig* setting of entropy drivers

Now that entropy drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-08-08 10:51:27 -05:00 committed by Kumar Gala
commit f2fa572561
30 changed files with 0 additions and 120 deletions

View file

@ -8,10 +8,6 @@ if BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF5340DK_NRF5340_CPUAPP_NS
config BOARD
default "nrf5340dk_nrf5340_cpuapp" if BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF5340DK_NRF5340_CPUAPP_NS
config ENTROPY_BT_HCI
default y if BT_HCI_HOST
depends on ENTROPY_GENERATOR
# By default, if we build for a Non-Secure version of the board,
# enable building with TF-M as the Secure Execution Environment.
config BUILD_WITH_TFM

View file

@ -25,10 +25,6 @@ config ETH_NATIVE_POSIX
endif # NETWORKING
config FAKE_ENTROPY_NATIVE_POSIX
default y
depends on ENTROPY_GENERATOR
choice BT_HCI_BUS_TYPE
default BT_USERCHAN
depends on BT_HCI

View file

@ -7,9 +7,6 @@ config BOARD
default "esp32c3_devkitm"
depends on BOARD_ESP32C3_DEVKITM
config ENTROPY_ESP32_RNG
default y if ENTROPY_GENERATOR
if BT
config HEAP_MEM_POOL_SIZE

View file

@ -5,9 +5,6 @@ config BOARD
default "icev_wireless"
depends on BOARD_ICEV_WIRELESS
config ENTROPY_ESP32_RNG
default y if ENTROPY_GENERATOR
if BT
config HEAP_MEM_POOL_SIZE

View file

@ -6,9 +6,6 @@ if BOARD_TLSR9518ADK80D
config BOARD
default "tlsr9518adk80d"
config ENTROPY_TELINK_B91_TRNG
default y if ENTROPY_GENERATOR
config SOC_FLASH_TELINK_B91
default y if FLASH

View file

@ -7,9 +7,6 @@ config BOARD
default "esp32"
depends on BOARD_ESP32
config ENTROPY_ESP32_RNG
default y if ENTROPY_GENERATOR
if BT
config HEAP_MEM_POOL_SIZE

View file

@ -9,6 +9,3 @@ config BOARD
config ENTROPY_GENERATOR
default y
config ENTROPY_ESP32_RNG
default y if ENTROPY_GENERATOR

View file

@ -7,9 +7,6 @@ config BOARD
default "esp_wrover_kit"
depends on BOARD_ESP_WROVER_KIT
config ENTROPY_ESP32_RNG
default y if ENTROPY_GENERATOR
if BT
config HEAP_MEM_POOL_SIZE

View file

@ -6,6 +6,3 @@
config BOARD
default "heltec_wifi_lora32"
depends on BOARD_HELTEC_WIFI_LORA32
config ENTROPY_ESP32_RNG
default y if ENTROPY_GENERATOR

View file

@ -7,9 +7,6 @@ config BOARD
default "odroid_go"
depends on BOARD_ODROID_GO
config ENTROPY_ESP32_RNG
default y if ENTROPY_GENERATOR
config DISK_DRIVER_SDMMC
default y if DISK_ACCESS

View file

@ -18,7 +18,6 @@ config ENTROPY_GECKO_SE
default y
depends on DT_HAS_SILABS_GECKO_SEMAILBOX_ENABLED
select ENTROPY_HAS_DRIVER
default y
help
This option enables the true random number generator
driver based on the Secure Element (SE) module.

View file

@ -37,10 +37,6 @@ config NUM_IRQS
# device driver the default configuration will be placed in the board defconfig
# file.
config ENTROPY_SAM_RNG
default y
depends on ENTROPY_GENERATOR
config USART_SAM
default y
depends on SERIAL

View file

@ -53,8 +53,4 @@ config USB_DC_SAM_USBHS
default y
depends on USB_DEVICE_DRIVER
config ENTROPY_SAM_RNG
default y
depends on ENTROPY_GENERATOR
endif # SOC_SERIES_SAME70

View file

@ -54,8 +54,4 @@ config USB_DC_SAM_USBHS
default y
depends on USB_DEVICE_DRIVER
config ENTROPY_SAM_RNG
default y
depends on ENTROPY_GENERATOR
endif # SOC_SERIES_SAMV71

View file

@ -16,10 +16,6 @@ config PINCTRL_IMX
default y if HAS_MCUX_IOMUXC
depends on PINCTRL
config ENTROPY_MCUX_TRNG
default y if HAS_MCUX_TRNG
depends on ENTROPY_GENERATOR
config ADC_MCUX_12B1MSPS_SAR
default y if HAS_MCUX_12B1MSPS_SAR
depends on ADC

View file

@ -25,10 +25,6 @@ config ZTEST_NO_YIELD
config FLASH_BASE_ADDRESS
default $(dt_node_reg_addr_hex,/soc/spi@134000,1)
config ENTROPY_MCUX_TRNG
default y if HAS_MCUX_TRNG
depends on ENTROPY_GENERATOR
if FLASH_MCUX_FLEXSPI_XIP
# Avoid RWW hazards by defaulting logging to disabled

View file

@ -11,10 +11,6 @@ config SOC
config GPIO
default y
config ENTROPY_MCUX_RNGA
default y
depends on ENTROPY_GENERATOR
config USB_KINETIS
default y
depends on USB_DEVICE_DRIVER

View file

@ -22,10 +22,6 @@ config ETH_MCUX
default y
depends on NET_L2_ETHERNET
config ENTROPY_MCUX_RNGA
default y
depends on ENTROPY_GENERATOR
config USB_KINETIS
default y
depends on USB_DEVICE_DRIVER

View file

@ -19,10 +19,6 @@ config ETH_MCUX
default y
depends on NET_L2_ETHERNET
config ENTROPY_MCUX_RNGA
default y
depends on ENTROPY_GENERATOR
config USB_KINETIS
default y
depends on USB_DEVICE_DRIVER

View file

@ -19,10 +19,6 @@ config KINETIS_FLASH_CONFIG_FOPT
default 0x3f
depends on KINETIS_FLASH_CONFIG
config ENTROPY_MCUX_TRNG
default y
depends on ENTROPY_GENERATOR
config GPIO
default y

View file

@ -19,10 +19,6 @@ config NUM_IRQS
config SPI
default y
config ENTROPY_MCUX_RNGA
default y
depends on ENTROPY_GENERATOR
config USB_KINETIS
default y
depends on USB_DEVICE_DRIVER

View file

@ -10,10 +10,6 @@ config SOC
config NUM_IRQS
default 32
config ENTROPY_MCUX_TRNG
default y
depends on ENTROPY_GENERATOR
choice CSPRNG_GENERATOR_CHOICE
default CTR_DRBG_CSPRNG_GENERATOR
endchoice

View file

@ -15,10 +15,6 @@ config COUNTER_MCUX_RTC
default y
depends on COUNTER
config ENTROPY_MCUX_TRNG
default y
depends on ENTROPY_GENERATOR
if NETWORKING
config NET_L2_IEEE802154

View file

@ -12,9 +12,6 @@ config NUM_IRQS
# must be >= the highest interrupt number used
default 60
config ENTROPY_MCUX_RNG
default y if HAS_MCUX_RNG
source "soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.lp*"
endif # SOC_SERIES_LPC55XXX

View file

@ -11,11 +11,4 @@ config SOC
config NUM_IRQS
default 91
if ENTROPY_GENERATOR
config ENTROPY_STM32_RNG
default y
endif # ENTROPY_GENERATOR
endif # SOC_STM32F427XX

View file

@ -11,11 +11,4 @@ config SOC
config NUM_IRQS
default 110
if ENTROPY_GENERATOR
config ENTROPY_STM32_RNG
default y
endif # ENTROPY_GENERATOR
endif # SOC_STM32F767XX

View file

@ -20,11 +20,4 @@ config ROM_START_OFFSET
config STM32_LPTIM_TIMER
default y if PM
if ENTROPY_GENERATOR
config ENTROPY_STM32_RNG
default y
endif # ENTROPY_GENERATOR
endif # SOC_SERIES_STM32H7X

View file

@ -13,11 +13,4 @@ config SOC_SERIES
config STM32_LPTIM_TIMER
default y if PM
if ENTROPY_GENERATOR
config ENTROPY_STM32_RNG
default y
endif # ENTROPY_GENERATOR
endif # SOC_SERIES_STM32L5X

View file

@ -25,10 +25,6 @@ config NUM_IRQS
config CC13X2_CC26X2_RTC_TIMER
default y
config ENTROPY_CC13XX_CC26XX_RNG
default y
depends on ENTROPY_GENERATOR
if IEEE802154
config IEEE802154_CC13XX_CC26XX

View file

@ -132,8 +132,4 @@ config FLASH_BASE_ADDRESS
endif # FLASH
config ENTROPY_RV32M1_TRNG
default y
depends on ENTROPY_GENERATOR
endif # SOC_OPENISA_RV32M1_RISCV32