summaryrefslogtreecommitdiff
path: root/arch/nios2/include/asm/cache.h
blob: 57848840d06353ee59094b51ba02482920c7d245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
 * Scott McNutt <smcnutt@psyent.com>
 */

#ifndef __ASM_NIOS2_CACHE_H_
#define __ASM_NIOS2_CACHE_H_

/*
 * Valid L1 data cache line sizes for the NIOS2 architecture are 4,
 * 16, and 32 bytes. We default to the largest of these values for
 * alignment of DMA buffers.
 */
#define ARCH_DMA_MINALIGN	32

#endif /* __ASM_NIOS2_CACHE_H_ */