From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 27 Jan 2016 08:11:38 +0100 Subject: [U-Boot] [PATCH] armv7: add cacheline sizes where missing In-Reply-To: <201601270510.59784.marex@denx.de> References: <1453826449-14346-1-git-send-email-albert.u.boot@aribaud.net> <201601270510.59784.marex@denx.de> Message-ID: <20160127081138.5538ce37@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Marek, On Wed, 27 Jan 2016 05:10:59 +0100, Marek Vasut 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 > > [...] > > > 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 > > > > +#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.