[adm5120] fix compiler warning
[openwrt.git] / target / linux / adm5120 / files / include / asm-mips / mach-adm5120 / cpu-feature-overrides.h
1 /*
2 * $Id$
3 *
4 * ADM5120 specific CPU feature overrides
5 *
6 * Copyright (C) 2007 OpenWrt.org
7 * Copyright (C) 2007 Gabor Juhos <juhosg at openwrt.org>
8 *
9 * This file was derived from: include/asm-mips/cpu-features.h
10 * Copyright (C) 2003, 2004 Ralf Baechle
11 * Copyright (C) 2004 Maciej W. Rozycki
12 *
13 * This program is free software; you can redistribute it and/or modify it
14 * under the terms of the GNU General Public License version 2 as published
15 * by the Free Software Foundation.
16 *
17 */
18 #ifndef __ASM_MACH_ADM5120_CPU_FEATURE_OVERRIDES_H
19 #define __ASM_MACH_ADM5120_CPU_FEATURE_OVERRIDES_H
20
21 #ifdef CONFIG_ADM5120_CPU_OVERRIDES
22
23 /*
24 * The ADM5120 SOC has a built-in MIPS 4Kc core.
25 */
26 #define cpu_has_tlb 1
27 #define cpu_has_4kex 1
28 #define cpu_has_3k_cache 0
29 #define cpu_has_4k_cache 1
30 #define cpu_has_tx39_cache 0
31 #define cpu_has_sb1_cache 0
32 #define cpu_has_fpu 0
33 #define cpu_has_32fpr 0
34 #define cpu_has_counter 1
35 #define cpu_has_watch 1
36 #define cpu_has_divec 1
37 /* #define cpu_has_vce ? */
38 /* #define cpu_has_cache_cdex_p ? */
39 /* #define cpu_has_cache_cdex_s ? */
40 #define cpu_has_prefetch 1
41 /* #define cpu_has_mcheck ? */
42 #define cpu_has_ejtag 1
43 #define cpu_has_llsc 1
44
45 #define cpu_has_mips16 0
46 #define cpu_has_mdmx 0
47 #define cpu_has_mips3d 0
48 #define cpu_has_smartmips 0
49
50 /* #define cpu_has_vtag_icache ? */
51 /* #define cpu_has_dc_aliases ? */
52 /* #define cpu_has_ic_fills_f_dc ? */
53 /* #define cpu_has_pindexed_dcache ? */
54
55 /* #define cpu_icache_snoops_remote_store ? */
56
57 #define cpu_has_mips32r1 1
58 #define cpu_has_mips32r2 0
59 #define cpu_has_mips64r1 0
60 #define cpu_has_mips64r2 0
61
62 #define cpu_has_dsp 0
63 #define cpu_has_mipsmt 0
64
65 /* #define cpu_has_nofpuex ? */
66 #define cpu_has_64bits 0
67 #define cpu_has_64bit_zero_reg 0
68 #define cpu_has_64bit_gp_regs 0
69 #define cpu_has_64bit_addresses 0
70
71 /* #define cpu_has_inclusive_pcaches ? */
72
73 #define cpu_dcache_line_size() 16
74 #define cpu_icache_line_size() 16
75
76 #endif /* CONFIG_ADM5120_CPU_OVERRIDES */
77
78
79 #endif /* __ASM_MACH_ADM5120_CPU_FEATURE_OVERRIDES_H */
This page took 0.049848 seconds and 5 git commands to generate.