Re: [U-Boot] [PATCH] IXP425: make cmd_go handle caches correctly Part 1/1

2009-01-04 Thread Jean-Christophe PLAGNIOL-VILLARD
> > diff --git a/cpu/ixp/cpu.c b/cpu/ixp/cpu.c > index 27872fb..9035d98 100644 > --- a/cpu/ixp/cpu.c > +++ b/cpu/ixp/cpu.c > @@ -171,6 +171,22 @@ int icache_status (void) > return (i & 0x1000); > } > > +void icache_invalidate (void) > +{ > + register u32 i; why do you need it? > + > +

Re: [U-Boot] [PATCH] IXP425: make cmd_go handle caches correctly Part 1/1

2008-12-16 Thread Stefan Althoefer
IXP425: make cmd_go handle caches correctly This patch adds icache_invalidate() and dcache_flush() to cpu/ixp/cpu.c. Also it adds do_go_exec() which is called from do_go(). This private implementation performs cache handling before jumping into the code. Without this cache handling, you will jum

Re: [U-Boot] [PATCH] IXP425: make cmd_go handle caches correctly Part 1/1

2008-12-15 Thread Wolfgang Denk
Dear Stefan Althoefer, In message <49384710.dwdg58iab1mkoo9u%stefan.althoe...@web.de> you wrote: > [PATCH] IXP425: make cmd_go handle caches correctly > > This patch adds icache_invalidate() and dcache_flush() to > cpu/ixp/cpu.c. > > Also it adds do_go_exec() which is called from do_go(). > This

[U-Boot] [PATCH] IXP425: make cmd_go handle caches correctly Part 1/1

2008-12-04 Thread Stefan Althoefer
[PATCH] IXP425: make cmd_go handle caches correctly This patch adds icache_invalidate() and dcache_flush() to cpu/ixp/cpu.c. Also it adds do_go_exec() which is called from do_go(). This private implementation performs cache handling before jumping into the code. Without this cache handling, you