zephyr/drivers/entropy/Kconfig
Ulf Magnusson 00ab5ed22a drivers: entropy: Kconfig: Remove redundant 'default n' properties
Bool symbols implicitly default to 'n'.

A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though, and is
inconsistent.

This will make the auto-generated Kconfig documentation have "No
defaults. Implicitly defaults to n." as well, which is clearer than
'default n if ...'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-07-03 17:11:31 -04:00

49 lines
1.2 KiB
Text

# Kconfig - entropy generator driver configuration options
#
# Copyright (c) 2014-2015 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig ENTROPY_GENERATOR
bool
prompt "Entropy Drivers"
help
Include entropy drivers in system config.
if ENTROPY_GENERATOR
source "drivers/entropy/Kconfig.mcux"
source "drivers/entropy/Kconfig.stm32"
source "drivers/entropy/Kconfig.esp32"
source "drivers/entropy/Kconfig.nrf5"
source "drivers/entropy/Kconfig.native_posix"
config ENTROPY_HAS_DRIVER
bool
help
This is an option to be enabled by individual entropy driver
to signal that there is a true entropy driver.
config ENTROPY_NAME
string "Entropy Device Name"
default "ENTROPY_0"
help
Specify the device name to be used for the ENTROPY driver.
config SYS_LOG_ENTROPY_LEVEL
int "Random Log level"
depends on SYS_LOG
default 0
range 0 4
help
Sets log level for entropy driver.
Levels are:
- 0 OFF: do not write
- 1 ERROR: only write SYS_LOG_ERR
- 2 WARNING: write SYS_LOG_WRN in addition to previous level
- 3 INFO: write SYS_LOG_INF in addition to previous levels
- 4 DEBUG: write SYS_LOG_DBG in addition to previous levels
endif