]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/sparc/lib/cache.c
karo: fdt: fix panel-dpi support
[karo-tx-uboot.git] / arch / sparc / lib / cache.c
1 /* Sparc cache library
2  *
3  * (C) Copyright 2007
4  * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
5  *
6  * SPDX-License-Identifier:     GPL-2.0+
7  */
8
9 #include <common.h>
10 #include <asm/processor.h>
11
12 void flush_cache(ulong start_addr, ulong size)
13 {
14         /* Flush All Cache */
15         sparc_dcache_flush_all();
16         sparc_icache_flush_all();
17 }