]>
Commit | Line | Data |
---|---|---|
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 | ||
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 | } |