blob: 806bd26ba989e4e4954988940b19028c37a901ab [file] [log] [blame]
Anton Staaf66d6dbf2011-10-17 16:46:11 -07001/*
2 * Copyright (c) 2011 The Chromium OS Authors.
Anton Staaf66d6dbf2011-10-17 16:46:11 -07003 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Anton Staaf66d6dbf2011-10-17 16:46:11 -07005 */
6
7#ifndef __MIPS_CACHE_H__
8#define __MIPS_CACHE_H__
9
Daniel Schwierzeck02ca55e2016-01-09 17:32:50 +010010#define L1_CACHE_SHIFT CONFIG_MIPS_L1_CACHE_SHIFT
11#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
12
13#define ARCH_DMA_MINALIGN (L1_CACHE_BYTES)
Anton Staaf66d6dbf2011-10-17 16:46:11 -070014
15#endif /* __MIPS_CACHE_H__ */