[U-Boot] [PATCH] armv7: add cacheline sizes where missing

Albert ARIBAUD albert.u.boot at aribaud.net
Wed Jan 27 08:11:38 CET 2016


Hello Marek,

On Wed, 27 Jan 2016 05:10:59 +0100, Marek Vasut <marex at denx.de> wrote:
> On Tuesday, January 26, 2016 at 05:40:49 PM, Albert ARIBAUD wrote:
> > Some armv7 targets are missing a cache line size declaration.
> > In preparation for "arm: cache: Implement cache range check for v7"
> > patch, add these declarations with the appropriate value for
> > the target's SoC or CPU.
> > 
> > Signed-off-by: Albert ARIBAUD <albert.u.boot at aribaud.net>
> 
> [...]
> 
> > diff --git a/include/configs/at91-sama5_common.h
> > b/include/configs/at91-sama5_common.h index 9db4a4f..7b06601 100644
> > --- a/include/configs/at91-sama5_common.h
> > +++ b/include/configs/at91-sama5_common.h
> > @@ -12,6 +12,8 @@
> > 
> >  #include <asm/hardware.h>
> > 
> > +#define CONFIG_SYS_CACHELINE_SIZE	64
> > +
> >  #define CONFIG_SYS_TEXT_BASE		0x26f00000
> > 
> >  /* ARM asynchronous clock */
> 
> I think SAMA5 is CortexA5 and that has 32B cachelines.

Correct. V2 incoming.

> Best regards,
> Marek Vasut

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list