blob: 57848840d06353ee59094b51ba02482920c7d245 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
wdenkef3386f2004-10-10 21:27:30 +00002/*
3 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
4 * Scott McNutt <smcnutt@psyent.com>
wdenkef3386f2004-10-10 21:27:30 +00005 */
6
7#ifndef __ASM_NIOS2_CACHE_H_
8#define __ASM_NIOS2_CACHE_H_
9
Anton Staaf4b170832011-10-17 16:46:05 -070010/*
Thomas Chou741085b2015-10-23 07:58:20 +080011 * Valid L1 data cache line sizes for the NIOS2 architecture are 4,
12 * 16, and 32 bytes. We default to the largest of these values for
13 * alignment of DMA buffers.
Anton Staaf4b170832011-10-17 16:46:05 -070014 */
Anton Staaf4b170832011-10-17 16:46:05 -070015#define ARCH_DMA_MINALIGN 32
Anton Staaf4b170832011-10-17 16:46:05 -070016
wdenkef3386f2004-10-10 21:27:30 +000017#endif /* __ASM_NIOS2_CACHE_H_ */