zephyr/drivers/cache/Kconfig.andes
Wei-Tai Lee 913fddb80e drivers: cache: andes: Decouple cache line size calculation
Eliminate the dependency on specific configuration options
for calculating the cache line size.

Signed-off-by: Wei-Tai Lee <wtlee@andestech.com>
2024-12-18 03:04:57 +01:00

30 lines
730 B
Plaintext

# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2024 ANDES Technology Inc.
config CACHE_ANDES
bool "ANDES external cache driver"
default y
depends on SOC_FAMILY_ANDES_V5
select CACHE_HAS_DRIVER
help
This option enables the CACHE driver for ANDES V5 series SOC.
if CACHE_ANDES
config L2C_INCLUSIVE_POLICY
bool
depends on DT_HAS_ANDESTECH_L2C_ENABLED
help
When L2 cache is inclusive of L1, CPU only needs to perform operations
on L2 cache, instead of on both L1 and L2 caches.
config CACHE_ANDES_INIT_PRIORITY
int "Andes cache driver init priority"
default 60
help
This option controls the priority of the cache initialization.
Lower values indicate earlier initialization.
endif # CACHE_ANDES