drivers/interrupt_controller: Renaming s1000 to cavs

If it is such a thing (a CAVT intc), it will not be targeting Intel
s1000 SoC only. UP squarde ADSP use the same intc. So renaming it to
CAVS. Though CAVS name might be wrong (CAVS being an overall
architecture name, and not an IP block specification).

Reducing the amount of lines by using if/endif as well.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2019-12-18 09:48:56 +01:00 committed by Carles Cufí
commit 4ada2f65d2
2 changed files with 6 additions and 12 deletions

View file

@ -54,7 +54,7 @@ source "drivers/interrupt_controller/Kconfig.dw"
source "drivers/interrupt_controller/Kconfig.stm32"
source "drivers/interrupt_controller/Kconfig.s1000"
source "drivers/interrupt_controller/Kconfig.cavs"
source "drivers/interrupt_controller/Kconfig.rv32m1"

View file

@ -1,4 +1,4 @@
# Intel_S1000 configuration
# CAVS interrupt controller configuration
# Copyright (c) 2017 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
@ -9,57 +9,51 @@ config CAVS_ICTL
help
These are 4 in number supporting a max of 32 interrupts each.
if CAVS_ICTL
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.
endif # CAVS_ICTL