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>
15 lines
424 B
Plaintext
15 lines
424 B
Plaintext
# LiteX PRBS entropy generator driver configuration
|
|
|
|
# Copyright (c) 2019 Antmicro <www.antmicro.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config ENTROPY_LITEX_RNG
|
|
bool "PRBS RNG driver"
|
|
default y
|
|
depends on DT_HAS_LITEX_PRBS_ENABLED
|
|
select ENTROPY_HAS_DRIVER
|
|
help
|
|
This option enables the RNG module, which is an entropy number
|
|
generator, based on Pseudo-Random Binary Sequences (PRBS)
|
|
for LiteX SoC builder
|