mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 14:00:19 +00:00 
			
		
		
		
	Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			328 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			328 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* Sparc cache library
 | 
						|
 *
 | 
						|
 * (C) Copyright 2007
 | 
						|
 * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier:	GPL-2.0+
 | 
						|
 */
 | 
						|
 | 
						|
#include <common.h>
 | 
						|
#include <asm/processor.h>
 | 
						|
 | 
						|
void flush_cache(ulong start_addr, ulong size)
 | 
						|
{
 | 
						|
	/* Flush All Cache */
 | 
						|
	sparc_dcache_flush_all();
 | 
						|
	sparc_icache_flush_all();
 | 
						|
}
 |