mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 22:47:28 +00:00
Some extensions to the multi-level interrupt controller are required to support SoCs with more than four level 2 interrupt "aggregators". Extend existing support to allow at most 8 level 2 or level 3 aggregators. Use Kconfig macro templates to cut down on boilerplate. Try to clarify some aspects of the Kconfig help while we're at it, and change the type of options which count things or are table offsets from "hex" to "int", so that the generated .config is easier to read. Finally, make some improvements to gen_isr_tables.py while we are here. In particular, move some assignments around to cut down on duplicated work, don't check for symbols we know must exist, and improve the debug logging output's readability. Signed-off-by: Marti Bolivar <marti@foundries.io>
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
# Kconfig - Intel_S1000 configuration
|
|
#
|
|
# Copyright (c) 2017 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
config CAVS_ICTL
|
|
bool "CAVS Interrupt Logic"
|
|
depends on MULTI_LEVEL_INTERRUPTS
|
|
help
|
|
These are 4 in number supporting a max of 32 interrupts each.
|
|
|
|
config CAVS_ISR_TBL_OFFSET
|
|
int "Offset in the SW ISR Table"
|
|
default 0
|
|
depends on CAVS_ICTL
|
|
help
|
|
This indicates the offset in the SW_ISR_TABLE beginning from where
|
|
the ISRs for CAVS Interrupt Controller are assigned.
|
|
|
|
config CAVS_ICTL_0_NAME
|
|
string "CAVS 0 Driver name"
|
|
depends on CAVS_ICTL
|
|
default "CAVS_0"
|
|
|
|
config CAVS_ICTL_0_OFFSET
|
|
int "Parent interrupt number to which CAVS_0 maps"
|
|
default 0
|
|
depends on CAVS_ICTL
|
|
|
|
config CAVS_ICTL_1_NAME
|
|
string "CAVS 1 Driver name"
|
|
depends on CAVS_ICTL
|
|
default "CAVS_1"
|
|
|
|
config CAVS_ICTL_1_OFFSET
|
|
int "Parent interrupt number to which CAVS_1 maps"
|
|
default 0
|
|
depends on CAVS_ICTL
|
|
|
|
config CAVS_ICTL_2_NAME
|
|
string "CAVS 2 Driver name"
|
|
depends on CAVS_ICTL
|
|
default "CAVS_2"
|
|
|
|
config CAVS_ICTL_2_OFFSET
|
|
int "Parent interrupt number to which CAVS_2 maps"
|
|
default 0
|
|
depends on CAVS_ICTL
|
|
|
|
config CAVS_ICTL_3_NAME
|
|
string "CAVS 3 Driver name"
|
|
depends on CAVS_ICTL
|
|
default "CAVS_3"
|
|
|
|
config CAVS_ICTL_3_OFFSET
|
|
int "Parent interrupt number to which CAVS_3 maps"
|
|
default 0
|
|
depends on CAVS_ICTL
|
|
|
|
config CAVS_ICTL_INIT_PRIORITY
|
|
int "CAVS ICTL Init priority"
|
|
default 60
|
|
depends on CAVS_ICTL
|
|
help
|
|
Cavs Interrupt Logic initialization priority.
|