~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: d3e8a8cd414f92b135abdc1cdfda06a9867040b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright (c) 2011 The Chromium OS Authors.
 */

#ifndef __MIPS_CACHE_H__
#define __MIPS_CACHE_H__

#define ARCH_DMA_MINALIGN	CONFIG_SYS_CACHELINE_SIZE

#ifndef __ASSEMBLY__
/**
 * mips_cache_probe() - Probe the properties of the caches
 *
 * Call this to probe the properties such as line sizes of the caches
 * present in the system, if any. This must be done before cache maintenance
 * functions such as flush_cache may be called.
 */
void mips_cache_probe(void);
#endif

#endif /* __MIPS_CACHE_H__ */