0cf25eea846f014b89cb502236d012938cf7e0be
[linux-2.6-microblaze.git] / arch / mips / include / asm / mach-sibyte / war.h
1 /*
2  * This file is subject to the terms and conditions of the GNU General Public
3  * License.  See the file "COPYING" in the main directory of this archive
4  * for more details.
5  *
6  * Copyright (C) 2002, 2004, 2007 by Ralf Baechle <ralf@linux-mips.org>
7  */
8 #ifndef __ASM_MIPS_MACH_SIBYTE_WAR_H
9 #define __ASM_MIPS_MACH_SIBYTE_WAR_H
10
11 #if defined(CONFIG_SB1_PASS_2_WORKAROUNDS)
12
13 #ifndef __ASSEMBLY__
14 extern int sb1250_m3_workaround_needed(void);
15 #endif
16
17 #define BCM1250_M3_WAR  sb1250_m3_workaround_needed()
18 #define SIBYTE_1956_WAR 1
19
20 #else
21
22 #define BCM1250_M3_WAR  0
23 #define SIBYTE_1956_WAR 0
24
25 #endif
26
27 #define MIPS34K_MISSED_ITLB_WAR         0
28
29 #endif /* __ASM_MIPS_MACH_SIBYTE_WAR_H */