zephyr/soc/arc/snps_emsdp/Kconfig.defconfig
Wayne Ren 74be178386 soc: fix the int numbers of emsdp
emsdp is a FPGA based platform, can be loaded with different
configurations. Different configuration have different
interrupts:

* em5d, em7d and em11d have 111 interrupts
* em4 and em6 have 113 interrupts
* em7d_esp has 112 interrupts

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2020-05-21 10:59:36 +02:00

24 lines
689 B
Plaintext

# Copyright (c) 2019 Synopsys, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
if SOC_ARC_EMSDP
config SOC
default "snps_emsdp"
config NUM_IRQ_PRIO_LEVELS
# This processor supports 4 priority levels:
# 0 for Fast Interrupts (FIRQs) and 1-3 for Regular Interrupts (IRQs).
default 4
source "soc/arc/snps_emsdp/Kconfig.defconfig.em4"
source "soc/arc/snps_emsdp/Kconfig.defconfig.em5d"
source "soc/arc/snps_emsdp/Kconfig.defconfig.em6"
source "soc/arc/snps_emsdp/Kconfig.defconfig.em7d"
source "soc/arc/snps_emsdp/Kconfig.defconfig.em7d_esp"
source "soc/arc/snps_emsdp/Kconfig.defconfig.em9d"
source "soc/arc/snps_emsdp/Kconfig.defconfig.em11d"
endif # SOC_ARC_EMSDP