From: DENX Support System Date: Sat, 1 Apr 2006 00:20:03 +0200 Subject: [DNX#2006040142000035] [U-Boot-Users] [PATCH][RFC] dcache manipulation fo [...] Message-ID: <1143843603.288251.941453983@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello list, inside the automatic U-Boot patch tracking system a new ticket [DNX#2006040142000035] was created: > This patch implements dcache manipulation for arm926ejs. > > Signed-off-by: Hiroki Kaminaga > > cpu/arm926ejs/cpu.c | 23 +++++++++++++++++++++++ > 1 files changed, 23 insertions(+) > > Index: u-boot-1.1.4/cpu/arm926ejs/cpu.c > =================================================================== > --- u-boot-1.1.4.orig/cpu/arm926ejs/cpu.c 2005-12-17 01:39:27.000000000 > +0900 > +++ u-boot-1.1.4/cpu/arm926ejs/cpu.c 2006-02-10 18:28:27.000000000 +0900 > @@ -154,3 +154,26 @@ int icache_status (void) > { > return (read_p15_c1 () & C1_IC) != 0; > } > + > +void dcache_enable (void) > +{ > + ulong reg; > + > + reg = read_p15_c1 (); /* get control reg. */ > + cp_delay (); > + write_p15_c1 (reg | C1_DC); > +} > + > +void dcache_disable (void) > +{ > + ulong reg; > + > + reg = read_p15_c1 (); > + cp_delay (); > + write_p15_c1 (reg & ~C1_DC); > +} > + > +int dcache_status (void) > +{ > + return (read_p15_c1 () & C1_DC) != 0; > +} > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users Your U-Boot support team