blob: 57848840d06353ee59094b51ba02482920c7d245 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
wdenk5c952cf2004-10-10 21:27:30 +00002/*
3 * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
4 * Scott McNutt <smcnutt@psyent.com>
wdenk5c952cf2004-10-10 21:27:30 +00005 */
6
7#ifndef __ASM_NIOS2_CACHE_H_
8#define __ASM_NIOS2_CACHE_H_
9
Anton Staaf6fa60352011-10-17 16:46:05 -070010/*
Thomas Chou21ff7342015-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 Staaf6fa60352011-10-17 16:46:05 -070014 */
Anton Staaf6fa60352011-10-17 16:46:05 -070015#define ARCH_DMA_MINALIGN 32
Anton Staaf6fa60352011-10-17 16:46:05 -070016
wdenk5c952cf2004-10-10 21:27:30 +000017#endif /* __ASM_NIOS2_CACHE_H_ */