drivers: entropy: stm32: Remove STM32F411XE from building
It appears the STM32F411XE doesn't support RNG so remove enabling it from the SoC defconfig and flag an error if attempting to build the driver on that SoC. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
df48e11d98
commit
b92a40a798
2 changed files with 2 additions and 7 deletions
|
|
@ -15,11 +15,4 @@ config NUM_IRQS
|
|||
int
|
||||
default 85
|
||||
|
||||
if ENTROPY_GENERATOR
|
||||
|
||||
config ENTROPY_STM32_RNG
|
||||
def_bool y
|
||||
|
||||
endif # ENTROPY_GENERATOR
|
||||
|
||||
endif # SOC_STM32F411XE
|
||||
|
|
|
|||
|
|
@ -21,6 +21,8 @@
|
|||
#error RNG only available on STM32F4 and STM32L4 series
|
||||
#elif defined(CONFIG_SOC_STM32F401XE)
|
||||
#error RNG not available on STM32F401 based SoCs
|
||||
#elif defined(CONFIG_SOC_STM32F411XE)
|
||||
#error RNG not available on STM32F411 based SoCs
|
||||
#else
|
||||
|
||||
struct entropy_stm32_rng_dev_cfg {
|
||||
|
|
|
|||
Loading…
Reference in a new issue