Skip to contentSkip to conversation

arm: snapdragon: Use correct GICC register on APQ8016

PATCH In review Sheep Sun 2 participants 2 messages Jun 14, 2021

Subsystems (2)
lore
Share & tools
lore

Sheep Sun

author
#0 lore raw

PATCH 1/1 arm: snapdragon: Use correct GICC register on APQ8016

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.

---

 arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h +1 -1
index 520e2e6bd7..d9a3b1af98 100644
@@ -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)
Signature · 1 line
2.30.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 26 lines · Sheep Sun

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.

---

 arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h +1 -2
index 520e2e6bd7..d9a3b1af98 100644
@@ -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)
--
Quoted 2 lines

2.30.2