1# SPDX-License-Identifier: Apache-2.0 2# 3# Copyright (c) 2024 ANDES Technology Inc. 4 5config CACHE_ANDES 6bool "ANDES external cache driver" 7 default y 8 depends on SOC_FAMILY_ANDES_V5 9 select CACHE_HAS_DRIVER 10 help 11 This option enables the CACHE driver for ANDES V5 series SOC. 12 13if CACHE_ANDES 14 15config L2C_INCLUSIVE_POLICY 16 bool 17 depends on DT_HAS_ANDESTECH_L2C_ENABLED 18 help 19 When L2 cache is inclusive of L1, CPU only needs to perform operations 20 on L2 cache, instead of on both L1 and L2 caches. 21 22config CACHE_ANDES_INIT_PRIORITY 23 int "Andes cache driver init priority" 24 default 60 25 help 26 This option controls the priority of the cache initialization. 27 Lower values indicate earlier initialization. 28 29endif # CACHE_ANDES 30