zephyr/drivers/cache/Kconfig.nrf
Krzysztof Chruściński 73d4f58b98 drivers: cache: nrf: Handle issue with LINEADDR on secure builds
nrf54h20 has a bug that requires to manually set 28th bit in the line
address. 28th bit indicates secure memory space. Add handling to the
cache driver.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-04-28 17:22:35 +03:00

16 lines
417 B
Plaintext

# Copyright (c) 2024 Carlo Caione <ccaione@baylibre.com>
# SPDX-License-Identifier: Apache-2.0
config CACHE_NRF_CACHE
bool "nRF cache driver"
select CACHE_HAS_DRIVER
depends on HAS_NRFX && CACHE_MANAGEMENT
help
Enable support for the nRF cache driver.
config CACHE_NRF_PATCH_LINEADDR
bool "Patch lineaddr"
default y if SOC_NRF54H20
help
Manually set 28th bit in the LINEADDR in Trustzone Secure build.