Browse Source

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>
pull/21499/head
Tomasz Bursztyka 6 years ago committed by Carles Cufí
parent
commit
4ada2f65d2
  1. 2
      drivers/interrupt_controller/Kconfig
  2. 16
      drivers/interrupt_controller/Kconfig.cavs

2
drivers/interrupt_controller/Kconfig

@ -54,7 +54,7 @@ source "drivers/interrupt_controller/Kconfig.dw" @@ -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"

16
drivers/interrupt_controller/Kconfig.s1000 → drivers/interrupt_controller/Kconfig.cavs

@ -1,4 +1,4 @@ @@ -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 @@ -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
Loading…
Cancel
Save