1# Copyright (c) 2021 Andes Technology Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4if SOC_SERIES_ANDES_AE350 5 6# Kconfig picks the first default with a satisfied condition. 7# SoC defaults should be parsed before SoC Series defaults, because SoCs usually 8# overrides SoC Series values. 9rsource "Kconfig.defconfig.ae*" 10 11config SYS_CLOCK_HW_CYCLES_PER_SEC 12 default 60000000 13 14config KERNEL_ENTRY 15 default "entry" 16 17config RISCV_GENERIC_TOOLCHAIN 18 default y if "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr" 19 default n 20 21config RISCV_SOC_INTERRUPT_INIT 22 default y 23 24config 2ND_LVL_ISR_TBL_OFFSET 25 default 12 26 27config 2ND_LVL_INTR_00_OFFSET 28 default 11 29 30config 2ND_LVL_INTR_01_OFFSET 31 default 3 32 33config MAX_IRQ_PER_AGGREGATOR 34 default 52 35 36config NUM_2ND_LEVEL_AGGREGATORS 37 default 2 38 39config NUM_IRQS 40 default 116 41 42choice CACHE_TYPE 43 default EXTERNAL_CACHE 44endchoice 45 46endif # SOC_SERIES_ANDES_AE350 47