[U-Boot] [PATCH 3/3 v3] ARM: ARM926EJS - Add cache operations

Simon Guinot
2011-09-02T11:43:39Z

On Fri, Sep 02, 2011 at 12:23:54PM +0200, Marek Vasut wrote:
> On Friday, September 02, 2011 12:22:05 PM Simon Guinot wrote:
> > Hi Hong,
> >
> > On Mon, Aug 15, 2011 at 03:08:51PM +0800, Hong Xu wrote:
> > > Hi Marek,
> > >
> > > On 08/11/2011 12:47 PM, Marek Vasut wrote:
> > > > On Thursday, August 11, 2011 05:27:37 AM Hong Xu wrote:
> > > >> Add a new file arch/arm/cpu/arm926ejs/cache.c and put cache operations
> > > >> into this file.
> > > >>
> > > >> Signed-off-by: Hong Xu<hong.xu@atmel.com>
> > > >> ---
> > > >>
> > > >> V2:
> > > >> Fixed a typo when CONFIG_SYS_DCACHE_OFF is defined
> > > >>
> > > >> V3:
> > > >> Undo changes in include/configs/at91sam9260ek.h
> > > >> It's for testing purpose
> > > >>
> > > >> arch/arm/cpu/arm926ejs/Makefile | 2 +-
> > > >> arch/arm/cpu/arm926ejs/cache.c | 142
> > > >>
> > > >> +++++++++++++++++++++++++++++++++++++++ 2 files changed, 143
> > > >> insertions(+), 1 deletions(-)
> > > >>
> > > >> create mode 100644 arch/arm/cpu/arm926ejs/cache.c
> >
> > What is the status for this patch ?
> >
> > I have failed to find any trace for this patch in patchwork or in the
> > arm git repository...
>
> We discussed this should be moved to arch/arm/cpu/armv5 (Aneesh V's idea ... I
> dunno what's this guys' full name ;-D). I tested this patch on certain type of
> CPU and it works really good. I'd be really glad if we got this mainline!

Yes. Moreover some drivers (as mvgbe) really needs such functions to fix
the DMA operations when D-cache is enabled.

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110902/a6505024/attachment.pgp