162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci * Joshua Henderson <joshua.henderson@microchip.com>
362306a36Sopenharmony_ci * Copyright (C) 2015 Microchip Technology Inc.  All rights reserved.
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public
662306a36Sopenharmony_ci * License.  See the file "COPYING" in the main directory of this archive
762306a36Sopenharmony_ci * for more details.
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci#ifndef __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H
1062306a36Sopenharmony_ci#define __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci/*
1362306a36Sopenharmony_ci * CPU feature overrides for PIC32 boards
1462306a36Sopenharmony_ci */
1562306a36Sopenharmony_ci#ifdef CONFIG_CPU_MIPS32
1662306a36Sopenharmony_ci#define cpu_has_vint		1
1762306a36Sopenharmony_ci#define cpu_has_veic		0
1862306a36Sopenharmony_ci#define cpu_has_tlb		1
1962306a36Sopenharmony_ci#define cpu_has_4kex		1
2062306a36Sopenharmony_ci#define cpu_has_4k_cache	1
2162306a36Sopenharmony_ci#define cpu_has_fpu		0
2262306a36Sopenharmony_ci#define cpu_has_counter		1
2362306a36Sopenharmony_ci#define cpu_has_llsc		1
2462306a36Sopenharmony_ci#define cpu_has_nofpuex		0
2562306a36Sopenharmony_ci#define cpu_icache_snoops_remote_store 1
2662306a36Sopenharmony_ci#endif
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci#ifdef CONFIG_CPU_MIPS64
2962306a36Sopenharmony_ci#error This platform does not support 64bit.
3062306a36Sopenharmony_ci#endif
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ci#endif /* __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H */
33