]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/sparc/lib/cache.c
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / sparc / lib / cache.c
CommitLineData
c2f02da2
DH
1/* Sparc cache library
2 *
3 * (C) Copyright 2007
4 * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
5 *
1a459660 6 * SPDX-License-Identifier: GPL-2.0+
c2f02da2
DH
7 */
8
9#include <common.h>
10#include <asm/processor.h>
11
12void flush_cache(ulong start_addr, ulong size)
13{
14 /* Flush All Cache */
15 sparc_dcache_flush_all();
16 sparc_icache_flush_all();
17}