mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 19:50:55 +00:00
Use this short header style in all Kconfig files: # <description> # <copyright> # <license> ... Also change all <description>s from # Kconfig[.extension] - Foo-related options to just # Foo-related options It's clear enough that it's about Kconfig. The <description> cleanup was done with this command, along with some manual cleanup (big letter at the start, etc.) git ls-files '*Kconfig*' | \ xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /' Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
51 lines
1.6 KiB
Plaintext
51 lines
1.6 KiB
Plaintext
# TI CC13xx / CC26xx entropy driver configuration
|
|
|
|
# Copyright (c) 2019 Brett Witherspoon
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config ENTROPY_CC13XX_CC26XX_RNG
|
|
bool "TI SimpleLink CC13xx / CC26xx True Random Number Generator (TRNG)"
|
|
depends on SOC_SERIES_CC13X2_CC26X2
|
|
select ENTROPY_HAS_DRIVER
|
|
select HAS_DTS_ENTROPY
|
|
select RING_BUFFER
|
|
help
|
|
This option enables the driver for the True Random Number Generator (TRNG)
|
|
for TI SimpleLink CC13xx / CC26xx SoCs.
|
|
|
|
if ENTROPY_CC13XX_CC26XX_RNG
|
|
|
|
config ENTROPY_CC13XX_CC26XX_POOL_SIZE
|
|
int "Number of bytes in the entropy pool"
|
|
default 512
|
|
help
|
|
The size in bytes of the buffer used to store entropy generated by the
|
|
hardware. Should be a power of two for high performance.
|
|
|
|
config ENTROPY_CC13XX_CC26XX_SAMPLES_PER_CYCLE
|
|
int "Number of samples to generate entropy"
|
|
range 256 16777216
|
|
default 240000
|
|
help
|
|
The number of samples used to generate entropy. The time required to
|
|
generate 64 bits of entropy is determined by the number of FROs enabled,
|
|
the sampling (system) clock frequency, and this value.
|
|
|
|
config ENTROPY_CC13XX_CC26XX_ALARM_THRESHOLD
|
|
int "Threshold for detected repeated patterns"
|
|
range 0 255
|
|
default 255
|
|
help
|
|
The number of samples detected with repeating patterns before an alarm
|
|
event is triggered. The associated FRO is automatically shut down.
|
|
|
|
config ENTROPY_CC13XX_CC26XX_SHUTDOWN_THRESHOLD
|
|
int "Threshold for the number of FROs automatically shut down"
|
|
range 0 24
|
|
default 0
|
|
help
|
|
The number of FROs allowed to be shutdown before the driver attempts to
|
|
take corrective action.
|
|
|
|
endif # ENTROPY_CC13XX_CC26XX_RNG
|