sunxi: fix sid base address macro name for H6
authorIcenowy Zheng <icenowy@aosc.io>
Sat, 18 Aug 2018 05:36:44 +0000 (13:36 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 20 Aug 2018 11:52:59 +0000 (17:22 +0530)
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>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h

index f568def..41a9b0f 100644 (file)
@@ -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