diff options
| author | Rayagonda Kokatanur <[email protected]> | 2020-07-26 22:37:33 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-07-29 10:37:11 -0400 |
| commit | 2ae7adc659f7fca9ea65df4318e5bca2b8274310 (patch) | |
| tree | 41d2ef5d35c09e393409d18fa329848774580592 /arch/arm/include | |
| parent | a76bfe5693b7657d76b93422ec2dabca8e3a2180 (diff) | |
arch: arm: use dt and UCLASS_SYSCON to get gic lpi details
Use device tree and UCLASS_SYSCON driver to get
Generic Interrupt Controller (GIC) lpi address and
maximum GIC redistributors count.
Also update Kconfig to select REGMAP and SYSCON when
GIC_V3_ITS is enabled.
Signed-off-by: Rayagonda Kokatanur <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/gic-v3.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/gic-v3.h b/arch/arm/include/asm/gic-v3.h index 5131fabec45..35efec78c3e 100644 --- a/arch/arm/include/asm/gic-v3.h +++ b/arch/arm/include/asm/gic-v3.h @@ -127,9 +127,9 @@ #define GIC_REDISTRIBUTOR_OFFSET 0x20000 #ifdef CONFIG_GIC_V3_ITS -int gic_lpi_tables_init(u64 base, u32 max_redist); +int gic_lpi_tables_init(void); #else -int gic_lpi_tables_init(u64 base, u32 max_redist) +int gic_lpi_tables_init(void) { return 0; } |
