mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 23:31:57 +00:00
To ease driver configuration, enable ENTROPY_STM32_RNG only if device node matching driver compatible is enabled. No more need to enable config symbol under soc/ Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
20 lines
657 B
Plaintext
20 lines
657 B
Plaintext
# STM32 entropy generator driver configuration
|
|
|
|
# Copyright (c) 2017 Erwin Rol <erwin@erwinrol.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
DT_COMPAT_ST_STM32_RNG := st,stm32-rng
|
|
|
|
config ENTROPY_STM32_RNG
|
|
bool "STM32 RNG driver"
|
|
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
|
|
generator, based on a continuous analog noise, that provides
|
|
a entropy 32-bit value to the host when read. It is available for
|
|
F4 (except STM32F401 & STM32F411), L4, F7 and G4 series.
|