Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Joshua Henderson <joshua.henderson@microchip.com>
0003  * Copyright (C) 2015 Microchip Technology Inc.  All rights reserved.
0004  *
0005  * This file is subject to the terms and conditions of the GNU General Public
0006  * License.  See the file "COPYING" in the main directory of this archive
0007  * for more details.
0008  */
0009 #ifndef __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H
0010 #define __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H
0011 
0012 /*
0013  * CPU feature overrides for PIC32 boards
0014  */
0015 #ifdef CONFIG_CPU_MIPS32
0016 #define cpu_has_vint        1
0017 #define cpu_has_veic        0
0018 #define cpu_has_tlb     1
0019 #define cpu_has_4kex        1
0020 #define cpu_has_4k_cache    1
0021 #define cpu_has_fpu     0
0022 #define cpu_has_counter     1
0023 #define cpu_has_llsc        1
0024 #define cpu_has_nofpuex     0
0025 #define cpu_icache_snoops_remote_store 1
0026 #endif
0027 
0028 #ifdef CONFIG_CPU_MIPS64
0029 #error This platform does not support 64bit.
0030 #endif
0031 
0032 #endif /* __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H */