Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  *  Atheros AR71XX/AR724X/AR913X specific CPU feature overrides
0004  *
0005  *  Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
0006  *  Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
0007  *
0008  *  This file was derived from: include/asm-mips/cpu-features.h
0009  *  Copyright (C) 2003, 2004 Ralf Baechle
0010  *  Copyright (C) 2004 Maciej W. Rozycki
0011  */
0012 #ifndef __ASM_MACH_ATH79_CPU_FEATURE_OVERRIDES_H
0013 #define __ASM_MACH_ATH79_CPU_FEATURE_OVERRIDES_H
0014 
0015 #define cpu_has_tlb     1
0016 #define cpu_has_4kex        1
0017 #define cpu_has_3k_cache    0
0018 #define cpu_has_4k_cache    1
0019 #define cpu_has_sb1_cache   0
0020 #define cpu_has_fpu     0
0021 #define cpu_has_32fpr       0
0022 #define cpu_has_counter     1
0023 #define cpu_has_watch       1
0024 #define cpu_has_divec       1
0025 
0026 #define cpu_has_prefetch    1
0027 #define cpu_has_ejtag       1
0028 #define cpu_has_llsc        1
0029 
0030 #define cpu_has_mips16      1
0031 #define cpu_has_mdmx        0
0032 #define cpu_has_mips3d      0
0033 #define cpu_has_smartmips   0
0034 #define cpu_has_rixi        0
0035 
0036 #define cpu_has_mips32r1    1
0037 #define cpu_has_mips32r2    1
0038 #define cpu_has_mips64r1    0
0039 #define cpu_has_mips64r2    0
0040 
0041 #define cpu_has_mipsmt      0
0042 #define cpu_has_userlocal   0
0043 
0044 #define cpu_has_64bits      0
0045 #define cpu_has_64bit_zero_reg  0
0046 #define cpu_has_64bit_gp_regs   0
0047 
0048 #define cpu_dcache_line_size()  32
0049 #define cpu_icache_line_size()  32
0050 #define cpu_has_vtag_icache 0
0051 #define cpu_has_dc_aliases  1
0052 #define cpu_has_ic_fills_f_dc   0
0053 #define cpu_has_pindexed_dcache 0
0054 
0055 #endif /* __ASM_MACH_ATH79_CPU_FEATURE_OVERRIDES_H */