diff mbox series

[U-Boot] sunxi: fix sid base address macro name for H6

Message ID 20180818053644.54595-1-icenowy@aosc.io
State Accepted
Commit 7ac5f33483169b4e2fd983c414dac06639b4e19c
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [U-Boot] sunxi: fix sid base address macro name for H6 | expand

Commit Message

Icenowy Zheng Aug. 18, 2018, 5:36 a.m. UTC
In the current H6 CPU memory space code, the SUNXI in the macro name of
the SID address base is wrongly spelled as SNUXI, which leads to SID
readout not working.

Fix this macro name.

Fixes: 55f6b1c351c9 ("sunxi: add basic memory map definitions of H6 SoC")
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jagan Teki Aug. 19, 2018, 10:32 a.m. UTC | #1
On Sat, Aug 18, 2018 at 11:06 AM, Icenowy Zheng <icenowy@aosc.io> wrote:
> In the current H6 CPU memory space code, the SUNXI in the macro name of
> the SID address base is wrongly spelled as SNUXI, which leads to SID
> readout not working.
>
> Fix this macro name.
>
> Fixes: 55f6b1c351c9 ("sunxi: add basic memory map definitions of H6 SoC")
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
> ---

Applied to u-boot-sunxi/master
diff mbox series

Patch

diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h b/arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h
index f568def8b4..41a9b0fc47 100644
--- a/arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h
+++ b/arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h
@@ -20,7 +20,7 @@ 
 #define SUNXI_DMA_BASE			0x03002000
 /* SID address space starts at 0x03006000, but e-fuse is at offset 0x200 */
 #define SUNXI_SIDC_BASE			0x03006000
-#define SNUXI_SID_BASE			0x03006200
+#define SUNXI_SID_BASE			0x03006200
 #define SUNXI_TIMER_BASE		0x03009000
 #define SUNXI_PIO_BASE			0x0300B000
 #define SUNXI_PSI_BASE			0x0300C000