zephyr/boards/xtensa/esp32/Kconfig.defconfig
Carles Cufi d79062516e boards: esp32: Conditionally enable RNG
Enable RNG only if the actual entropy generator is enabled.

See #22474.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2020-02-14 22:12:21 +02:00

12 lines
219 B
Plaintext

# ESP32 board configuration
# Copyright (c) 2017 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "esp32"
depends on BOARD_ESP32
config ENTROPY_ESP32_RNG
default y if ENTROPY_GENERATOR