drivers: interrupt controller: update GIC Kconfigs

Selection of these GIC Kconfigs have been deprecated
for more than 2 releases, users should use the devicetree
method instead, update the Kconfigs.

The SOCs below have been updated to not select `GIC_V3`, since
their devicetree already have the required compatible:
- fvp_aemv8r
- rzt2m
- rk3658

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
Yong Cong Sin 2024-06-17 22:13:58 +08:00 committed by Anas Nashif
parent 3e4a9b9ec7
commit abbd19c393
4 changed files with 0 additions and 15 deletions

View file

@ -8,38 +8,26 @@ if CPU_CORTEX
config GIC
bool
# Selecting these symbols directly is deprecated: the GIC architecture version
# should be specified by adding the appropriate compat (for example arm,gic-v2)
# to the DT.
config GIC_V1
def_bool DT_HAS_ARM_GIC_V1_ENABLED
select GIC
select DEPRECATED if !DT_HAS_ARM_GIC_V1_ENABLED
help
The ARM Generic Interrupt Controller v1 (e.g. PL390) works with the
ARM Cortex-family processors.
Selecting this symbol directly is deprecated. Please add the arm,gic-v1
compatible to the GIC node in your DT and remove the direct selection.
config GIC_V2
def_bool DT_HAS_ARM_GIC_V2_ENABLED
select GIC
select DEPRECATED if !DT_HAS_ARM_GIC_V2_ENABLED
help
The ARM Generic Interrupt Controller v2 (e.g. GIC-400) works with the
ARM Cortex-family processors.
Selecting this symbol directly is deprecated. Please add the arm,gic-v2
compatible to the GIC node in your DT and remove the direct selection.
config GIC_V3
def_bool DT_HAS_ARM_GIC_V3_ENABLED
select GIC
select DEPRECATED if !DT_HAS_ARM_GIC_V3_ENABLED
help
The ARM Generic Interrupt Controller v3 (e.g. GIC-500 and GIC-600)
works with the ARM Cortex-family processors.
Selecting this symbol directly is deprecated. Please add the arm,gic-v3
compatible to the GIC node in your DT and remove the direct selection.
config GIC_VER
int

View file

@ -12,7 +12,6 @@ config SOC_FVP_AEMV8R_AARCH32
select CPU_HAS_ARM_MPU
select CPU_HAS_MPU
select VFP_DP_D32_FP16_FMAC if !USE_SWITCH
select GIC_V3
select GIC_SINGLE_SECURITY_STATE
select PLATFORM_SPECIFIC_INIT
select ARM

View file

@ -5,7 +5,6 @@ config SOC_RENESAS_RZT2M
select ARM
select CPU_CORTEX_R52
select CPU_HAS_ARM_MPU
select GIC_V3
select GIC_SINGLE_SECURITY_STATE
select ARM_ARCH_TIMER
select SYSCON

View file

@ -6,7 +6,6 @@ config SOC_SERIES_RK3568
select ARM64
select CPU_CORTEX_A55
select ARM_ARCH_TIMER
select GIC_V3
config SOC_PART_NUMBER
default "RK3568" if SOC_SERIES_RK3568