xref: /openbmc/u-boot/arch/riscv/lib/cache.c (revision dd4671cb)
1 /*
2  * Copyright (C) 2017 Andes Technology Corporation
3  * Rick Chen, Andes Technology Corporation <rick@andestech.com>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #include <common.h>
9 
10 void flush_dcache_range(unsigned long start, unsigned long end)
11 {
12 }
13 
14 void invalidate_icache_range(unsigned long start, unsigned long end)
15 {
16 }
17 
18 void invalidate_dcache_range(unsigned long start, unsigned long end)
19 {
20 }
21 
22 void flush_cache(unsigned long addr, unsigned long size)
23 {
24 }
25 
26 void icache_enable(void)
27 {
28 }
29 
30 void icache_disable(void)
31 {
32 }
33 
34 int icache_status(void)
35 {
36 	return 0;
37 }
38 
39 void dcache_enable(void)
40 {
41 }
42 
43 void dcache_disable(void)
44 {
45 }
46 
47 int dcache_status(void)
48 {
49 	return 0;
50 }
51