2019-11-01 20:45:29 +08:00
|
|
|
# STM32 entropy generator driver configuration
|
|
|
|
|
2017-10-14 07:30:55 +08:00
|
|
|
# Copyright (c) 2017 Erwin Rol <erwin@erwinrol.com>
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-04-03 22:18:59 +08:00
|
|
|
DT_COMPAT_ST_STM32_RNG := st,stm32-rng
|
|
|
|
|
2019-10-22 07:04:04 +08:00
|
|
|
config ENTROPY_STM32_RNG
|
2017-10-14 07:30:55 +08:00
|
|
|
bool "STM32 RNG driver"
|
2017-10-14 08:16:59 +08:00
|
|
|
depends on SOC_FAMILY_STM32
|
2017-10-14 07:30:55 +08:00
|
|
|
select ENTROPY_HAS_DRIVER
|
2017-10-31 18:56:57 +08:00
|
|
|
select USE_STM32_LL_RNG
|
2020-04-03 22:18:59 +08:00
|
|
|
default $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_RNG))
|
2017-10-14 07:30:55 +08:00
|
|
|
help
|
|
|
|
This option enables the RNG processor, which is a entropy number
|
|
|
|
generator, based on a continuous analog noise, that provides
|
2018-07-02 00:15:15 +08:00
|
|
|
a entropy 32-bit value to the host when read. It is available for
|
2019-09-04 16:47:46 +08:00
|
|
|
F4 (except STM32F401 & STM32F411), L4, F7 and G4 series.
|