2245bf89b7
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>
13 lines
361 B
Plaintext
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.
|