diff mbox series

[1/2] arm: snapdragon: Use correct GICC register on APQ8016

Message ID 20210620023435.837965-1-sunxiaoyang2003@gmail.com
State Accepted
Commit 9b6b25c63512604bb17a40a6005dff451699ef5e
Delegated to: Tom Rini
Headers show
Series [1/2] arm: snapdragon: Use correct GICC register on APQ8016 | expand

Commit Message

Sheep Sun June 20, 2021, 2:34 a.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini July 6, 2021, 10:50 p.m. UTC | #1
On Sun, Jun 20, 2021 at 10:34:34AM +0800, Sheep Sun wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h b/arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h
index 520e2e6bd7..d9a3b1af98 100644
--- a/arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h
+++ b/arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h
@@ -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)