Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * This file is subject to the terms and conditions of the GNU General Public
0003  * License.  See the file "COPYING" in the main directory of this archive
0004  * for more details.
0005  *
0006  * Copyright (C) 2003, 2004 Chris Dearman
0007  * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org)
0008  */
0009 #ifndef __ASM_MACH_MIPS_CPU_FEATURE_OVERRIDES_H
0010 #define __ASM_MACH_MIPS_CPU_FEATURE_OVERRIDES_H
0011 
0012 
0013 /*
0014  * CPU feature overrides for MIPS boards
0015  */
0016 #ifdef CONFIG_CPU_MIPS32
0017 #define cpu_has_tlb     1
0018 #define cpu_has_4kex        1
0019 #define cpu_has_4k_cache    1
0020 /* #define cpu_has_fpu      ? */
0021 /* #define cpu_has_32fpr    ? */
0022 #define cpu_has_counter     1
0023 /* #define cpu_has_watch    ? */
0024 #define cpu_has_divec       1
0025 #define cpu_has_vce     0
0026 /* #define cpu_has_cache_cdex_p ? */
0027 /* #define cpu_has_cache_cdex_s ? */
0028 /* #define cpu_has_prefetch ? */
0029 #define cpu_has_mcheck      1
0030 /* #define cpu_has_ejtag    ? */
0031 #define cpu_has_llsc        1
0032 /* #define cpu_has_vtag_icache  ? */
0033 /* #define cpu_has_dc_aliases   ? */
0034 /* #define cpu_has_ic_fills_f_dc ? */
0035 #define cpu_has_clo_clz     1
0036 #define cpu_has_nofpuex     0
0037 /* #define cpu_has_64bits   ? */
0038 /* #define cpu_has_64bit_zero_reg ? */
0039 /* #define cpu_has_inclusive_pcaches ? */
0040 #define cpu_icache_snoops_remote_store 1
0041 #endif
0042 
0043 #ifdef CONFIG_CPU_MIPS64
0044 #define cpu_has_tlb     1
0045 #define cpu_has_4kex        1
0046 #define cpu_has_4k_cache    1
0047 /* #define cpu_has_fpu      ? */
0048 /* #define cpu_has_32fpr    ? */
0049 #define cpu_has_counter     1
0050 /* #define cpu_has_watch    ? */
0051 #define cpu_has_divec       1
0052 #define cpu_has_vce     0
0053 /* #define cpu_has_cache_cdex_p ? */
0054 /* #define cpu_has_cache_cdex_s ? */
0055 /* #define cpu_has_prefetch ? */
0056 #define cpu_has_mcheck      1
0057 /* #define cpu_has_ejtag    ? */
0058 #define cpu_has_llsc        1
0059 /* #define cpu_has_vtag_icache  ? */
0060 /* #define cpu_has_dc_aliases   ? */
0061 /* #define cpu_has_ic_fills_f_dc ? */
0062 #define cpu_has_clo_clz     1
0063 #define cpu_has_nofpuex     0
0064 /* #define cpu_has_64bits   ? */
0065 /* #define cpu_has_64bit_zero_reg ? */
0066 /* #define cpu_has_inclusive_pcaches ? */
0067 #define cpu_icache_snoops_remote_store 1
0068 #endif
0069 
0070 #endif /* __ASM_MACH_MIPS_CPU_FEATURE_OVERRIDES_H */