[DNX#2006040142000035] [U-Boot-Users] [PATCH][RFC] dcache manipulation fo [...]

DENX Support System support at denx.de
Sat Apr 1 00:20:03 CEST 2006


Hello list,

inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006040142000035] was created:

<snip>
> This patch implements dcache manipulation for arm926ejs.
> 
> Signed-off-by: Hiroki Kaminaga <kaminaga at sm.sony.co.jp>
> 
>  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
</snip>

Your U-Boot support team




More information about the U-Boot mailing list