Skip to content

Commit 034c0cb

Browse files
Raffael Rostagnokartben
authored andcommitted
drivers: intc: esp32: Shared allocator for Xtensa and RISCV
Update interrupt allocator to use the same driver for both Xtensa and RISCV devices. Signed-off-by: Raffael Rostagno <[email protected]> Signed-off-by: Sylvio Alves <[email protected]>
1 parent eb606a8 commit 034c0cb

File tree

14 files changed

+107
-552
lines changed

14 files changed

+107
-552
lines changed

drivers/interrupt_controller/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ zephyr_library_sources_ifdef(CONFIG_RV32M1_INTMUX intc_rv32m1_intmux.c
2828
zephyr_library_sources_ifdef(CONFIG_SAM0_EIC intc_sam0_eic.c)
2929
zephyr_library_sources_ifdef(CONFIG_SHARED_IRQ intc_shared_irq.c)
3030
zephyr_library_sources_ifdef(CONFIG_INTC_ESP32 intc_esp32.c)
31-
zephyr_library_sources_ifdef(CONFIG_INTC_ESP32C3 intc_esp32c3.c)
3231
zephyr_library_sources_ifdef(CONFIG_SWERV_PIC intc_swerv_pic.c)
3332
zephyr_library_sources_ifdef(CONFIG_VEXRISCV_LITEX_IRQ intc_vexriscv_litex.c)
3433
zephyr_library_sources_ifdef(CONFIG_VIM intc_vim.c)

drivers/interrupt_controller/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ source "drivers/interrupt_controller/Kconfig.intel_vtd"
8484

8585
source "drivers/interrupt_controller/Kconfig.esp32"
8686

87-
source "drivers/interrupt_controller/Kconfig.esp32c3"
88-
8987
source "drivers/interrupt_controller/Kconfig.xec"
9088

9189
source "drivers/interrupt_controller/Kconfig.clic"

drivers/interrupt_controller/Kconfig.esp32

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
# SPDX-License-Identifier: Apache-2.0
55

66
config INTC_ESP32
7-
bool "Interrupt allocator for Xtensa-based Espressif SoCs"
7+
bool "Interrupt allocator for Espressif SoCs"
88
default y
99
depends on SOC_FAMILY_ESPRESSIF_ESP32
10-
depends on !SOC_SERIES_ESP32C2 && !SOC_SERIES_ESP32C3 && !SOC_SERIES_ESP32C6
1110
help
1211
Enable custom interrupt allocator for Espressif SoCs based on Xtensa
1312
architecture.

drivers/interrupt_controller/Kconfig.esp32c3

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)