zephyr/drivers/crypto/Kconfig.mcux_dcp
Manuel Argüelles ca3310145f drivers: select nocache only when supported
NOCACHE_MEMORY depends on ARCH_HAS_NOCACHE_MEMORY_SUPPORT, so
don't try to select the symbol if not supported.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-09-26 15:09:51 +02:00

22 lines
609 B
Plaintext

# Copyright (c) 2023 Basalte bv
# SPDX-License-Identifier: Apache-2.0
config CRYPTO_MCUX_DCP
bool "NXP Data Co-Processor (DCP) driver"
default y
depends on HAS_MCUX_CACHE
depends on DT_HAS_NXP_MCUX_DCP_ENABLED
select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
select CACHE_MANAGEMENT if DCACHE
help
Enable NXP Data Co-Processor (DCP) driver.
config CRYPTO_MCUX_DCP_MAX_SESSION
int "Maximum number of sessions NXP DCP crypto driver can handle"
range 1 4
default 2
depends on CRYPTO_MCUX_DCP
help
This can be used to tweak the amount of sessions the driver
can handle in parallel.