Message ID | 20180625103723.24760-7-icenowy@aosc.io |
---|---|
State | Superseded |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show |
Series | Allwinner H6 support (w/ SPL) | expand |
Hi, On 25/06/18 11:37, Icenowy Zheng wrote: > As the Allwinner H6 chip has a new memory map, its GIC MMIO address is > thus different. > > Change the address on H6. > > Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Cheers, Andre. > --- > include/configs/sun50i.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/include/configs/sun50i.h b/include/configs/sun50i.h > index b7b67a1ddc..1b3e84c4e9 100644 > --- a/include/configs/sun50i.h > +++ b/include/configs/sun50i.h > @@ -18,8 +18,13 @@ > > #define CONFIG_SUNXI_USB_PHYS 1 > > +#ifndef CONFIG_MACH_SUN50I_H6 > #define GICD_BASE 0x1c81000 > #define GICC_BASE 0x1c82000 > +#else > +#define GICD_BASE 0x3021000 > +#define GICC_BASE 0x3022000 > +#endif > > /* > * Include common sunxi configuration where most the settings are >
diff --git a/include/configs/sun50i.h b/include/configs/sun50i.h index b7b67a1ddc..1b3e84c4e9 100644 --- a/include/configs/sun50i.h +++ b/include/configs/sun50i.h @@ -18,8 +18,13 @@ #define CONFIG_SUNXI_USB_PHYS 1 +#ifndef CONFIG_MACH_SUN50I_H6 #define GICD_BASE 0x1c81000 #define GICC_BASE 0x1c82000 +#else +#define GICD_BASE 0x3021000 +#define GICC_BASE 0x3022000 +#endif /* * Include common sunxi configuration where most the settings are
As the Allwinner H6 chip has a new memory map, its GIC MMIO address is thus different. Change the address on H6. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> --- include/configs/sun50i.h | 5 +++++ 1 file changed, 5 insertions(+)