xref: /openbmc/linux/arch/sh/include/asm/shmparam.h (revision f15cbe6f1a4b4d9df59142fc8e4abb973302cf44)
1*f15cbe6fSPaul Mundt /*
2*f15cbe6fSPaul Mundt  * include/asm-sh/shmparam.h
3*f15cbe6fSPaul Mundt  *
4*f15cbe6fSPaul Mundt  * Copyright (C) 1999 Niibe Yutaka
5*f15cbe6fSPaul Mundt  * Copyright (C) 2006 Paul Mundt
6*f15cbe6fSPaul Mundt  *
7*f15cbe6fSPaul Mundt  * This file is subject to the terms and conditions of the GNU General Public
8*f15cbe6fSPaul Mundt  * License.  See the file "COPYING" in the main directory of this archive
9*f15cbe6fSPaul Mundt  * for more details.
10*f15cbe6fSPaul Mundt  */
11*f15cbe6fSPaul Mundt #ifndef __ASM_SH_SHMPARAM_H
12*f15cbe6fSPaul Mundt #define __ASM_SH_SHMPARAM_H
13*f15cbe6fSPaul Mundt 
14*f15cbe6fSPaul Mundt /*
15*f15cbe6fSPaul Mundt  * SH-4 and SH-3 7705 have an aliasing dcache. Bump this up to a sensible value
16*f15cbe6fSPaul Mundt  * for everyone, and work out the specifics from the probed cache descriptor.
17*f15cbe6fSPaul Mundt  */
18*f15cbe6fSPaul Mundt #define	SHMLBA	0x4000		 /* attach addr a multiple of this */
19*f15cbe6fSPaul Mundt 
20*f15cbe6fSPaul Mundt #define __ARCH_FORCE_SHMLBA
21*f15cbe6fSPaul Mundt 
22*f15cbe6fSPaul Mundt #endif /* __ASM_SH_SHMPARAM_H */
23