zephyr/drivers/entropy/Kconfig.sam
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

13 lines
361 B
Plaintext

# Atmel SAM TRNG configuration
# Copyright (c) 2018 Aurelien Jarno
# SPDX-License-Identifier: Apache-2.0
config ENTROPY_SAM_RNG
bool "Atmel SAM MCU Family True Random Number Generator (TRNG) Driver"
default y
depends on DT_HAS_ATMEL_SAM_TRNG_ENABLED
select ENTROPY_HAS_DRIVER
help
Enable True Random Number Generator (TRNG) driver for Atmel SAM MCUs.