arm: snapdragon: Use correct GICC register on APQ8016
authorSheep Sun <sunxiaoyang2003@gmail.com>
Sun, 20 Jun 2021 02:34:34 +0000 (10:34 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 6 Jul 2021 18:12:15 +0000 (14:12 -0400)
The GICC register used by u-boot is 0x0a20c000, which is actually a GICC
for WCNSS, the WLAN processor. U-boot runs on the Application Processor,
therefore it should use APCS GICC instead. Hence, correct it with APCS GICC
register address.

Signed-off-by: Sheep Sun <sunxiaoyang2003@gmail.com>
arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h

index 520e2e6..d9a3b1a 100644 (file)
@@ -8,7 +8,7 @@
 #define _MACH_SYSMAP_APQ8016_H
 
 #define GICD_BASE                      (0x0b000000)
-#define GICC_BASE                      (0x0a20c000)
+#define GICC_BASE                      (0x0b002000)
 
 /* Clocks: (from CLK_CTL_BASE)  */
 #define GPLL0_STATUS                   (0x2101C)