drivers: intc_dw_ace: use CONFIG_DW_ICTL_ACE

Use CONFIG_DW_ICTL_ACE instead of a version kconfig.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-10-03 13:55:37 -04:00
parent b4a44fdcb4
commit c75ac38f6c
3 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@ zephyr_library_property(ALLOW_EMPTY TRUE)
zephyr_library_sources_ifdef(CONFIG_ARCV2_INTERRUPT_UNIT intc_arcv2_irq_unit.c)
zephyr_library_sources_ifdef(CONFIG_CAVS_ICTL intc_cavs.c)
zephyr_library_sources_ifdef(CONFIG_DW_ICTL intc_dw.c)
zephyr_library_sources_ifdef(CONFIG_DW_ICTL_ACE_V1X intc_dw_ace.c)
zephyr_library_sources_ifdef(CONFIG_DW_ICTL_ACE intc_dw_ace.c)
zephyr_library_sources_ifdef(CONFIG_EXTI_STM32 intc_exti_stm32.c)
zephyr_library_sources_ifdef(CONFIG_GD32_EXTI intc_gd32_exti.c)
zephyr_library_sources_ifdef(CONFIG_GIC_V1 intc_gic.c)

View file

@ -1,13 +1,13 @@
# Copyright (c) 2019 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config DW_ICTL_ACE_V1X
bool "Designware Interrupt Controller for ACE V1X"
config DW_ICTL_ACE
bool "Designware Interrupt Controller for ACE"
default y
depends on DT_HAS_INTEL_ACE_INTC_ENABLED
depends on MULTI_LEVEL_INTERRUPTS
help
Designware Interrupt Controller used by ACE V1X.
Designware Interrupt Controller used by ACE.
menuconfig DW_ICTL
bool "Designware Interrupt Controller"

View file

@ -9,6 +9,6 @@ config SOC_SERIES_INTEL_ACE
select ATOMIC_OPERATIONS_BUILTIN if "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "xcc"
select ARCH_HAS_COHERENCE
select SCHED_IPI_SUPPORTED
select DW_ICTL_ACE_V1X
select DW_ICTL_ACE
help
Intel ADSP ACE