mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 17:58:23 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
17 lines
328 B
C
17 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();
|
|
}
|