zephyr/drivers/entropy/Kconfig.esp32
Kumar Gala 2245bf89b7 drivers: entropy: Update drivers to use devicetree Kconfig symbol
Update entropy drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol
to expose the driver and enable it by default based on devicetree.

We remove 'depend on' Kconfig for symbols that would be implied by
the devicetree node existing.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-25 09:39:10 +02:00

17 lines
512 B
Plaintext

# esp32 entropy generator driver configuration
# Copyright (c) 2017 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config ENTROPY_ESP32_RNG
bool "ESP32 entropy number generator driver"
default y
depends on DT_HAS_ESPRESSIF_ESP32_TRNG_ENABLED
select ENTROPY_HAS_DRIVER
help
This option enables the entropy number generator for ESP32 SoCs.
With Wi-Fi and Bluetooth disabled, this will produce pseudo-entropy
numbers: noise from these radios are used to feed entropy in this
generator.