blob: fd17467f70783ae88753e27d63646256030e5dac [file] [log] [blame]
/* 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();
}