Message ID | 20161109102136.13479-3-wens@csie.org |
---|---|
State | Superseded |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show |
Hi, On 09-11-16 11:21, Chen-Yu Tsai wrote: > The A80, having 2 clusters of 4 cores each, has an ARM CCI-400 hardware > block for cache coherency. > > Add the base address for CCI-400, and also add the base address for CPUCFG. > > Signed-off-by: Chen-Yu Tsai <wens@csie.org> LGTM: Reviewed-by: Hans de Goede <hdegoede@redhat.com> Regards, Hans > --- > arch/arm/include/asm/arch-sunxi/cpu_sun9i.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h b/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h > index c775bcc515a0..88b48c644c06 100644 > --- a/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h > +++ b/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h > @@ -17,6 +17,9 @@ > #define REGS_APB1_BASE 0x07000000 > #define REGS_RCPUS_BASE 0x08000000 > > +#define SUNXI_CPUCFG_BASE 0x01700000 > +#define SUNXI_CCI400_BASE 0x01790000 > + > #define SUNXI_SRAM_D_BASE 0x08100000 > > /* AHB0 Module */ >
diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h b/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h index c775bcc515a0..88b48c644c06 100644 --- a/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h +++ b/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h @@ -17,6 +17,9 @@ #define REGS_APB1_BASE 0x07000000 #define REGS_RCPUS_BASE 0x08000000 +#define SUNXI_CPUCFG_BASE 0x01700000 +#define SUNXI_CCI400_BASE 0x01790000 + #define SUNXI_SRAM_D_BASE 0x08100000 /* AHB0 Module */
The A80, having 2 clusters of 4 cores each, has an ARM CCI-400 hardware block for cache coherency. Add the base address for CCI-400, and also add the base address for CPUCFG. Signed-off-by: Chen-Yu Tsai <wens@csie.org> --- arch/arm/include/asm/arch-sunxi/cpu_sun9i.h | 3 +++ 1 file changed, 3 insertions(+)