]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: imx: imx8m: Enable GICv3 support if PSCI provider
authorMarek Vasut <marex@denx.de>
Thu, 22 Dec 2022 00:46:39 +0000 (01:46 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 31 Jan 2023 14:46:39 +0000 (15:46 +0100)
In case U-Boot is a PSCI provider, enable GICv3 support as this
is necessary to bring up secondary cores.

Signed-off-by: Marek Vasut <marex@denx.de>
arch/arm/include/asm/arch-imx8m/imx-regs.h
arch/arm/mach-imx/imx8m/Kconfig

index 20f4699a12b3dfdbe5d5c056f973daa4df9f8275..cfd5479cd7308354b31815a1817aaca25ff79c45 100644 (file)
@@ -81,6 +81,9 @@
 #define MXS_GPMI_BASE          (APBH_DMA_ARB_BASE_ADDR + 0x02000)
 #define MXS_BCH_BASE           (APBH_DMA_ARB_BASE_ADDR + 0x04000)
 
+#define GICD_BASE              0x38800000
+#define GICR_BASE              0x38880000
+
 #define DDRC_DDR_SS_GPR0       0x3d000000
 #define DDRC_IPS_BASE_ADDR(X)  (0x3d400000 + ((X) * 0x2000000))
 #define DDR_CSD1_BASE_ADDR     0x40000000
index 64e6b49f46bd5467f3acd82196985deaede33fff..6d35cda0bee88205acff8d1e8d3e5f0ff9adb836 100644 (file)
@@ -2,6 +2,7 @@ if ARCH_IMX8M
 
 config IMX8M
        bool
+       select GICV3 if ARMV8_PSCI
        select HAS_CAAM
        select ROM_UNIFIED_SECTIONS
        select ARMV8_CRYPTO