cpu-feature-overrides.h 883 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Joshua Henderson <joshua.henderson@microchip.com>
  3. * Copyright (C) 2015 Microchip Technology Inc. All rights reserved.
  4. *
  5. * This file is subject to the terms and conditions of the GNU General Public
  6. * License. See the file "COPYING" in the main directory of this archive
  7. * for more details.
  8. */
  9. #ifndef __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H
  10. #define __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H
  11. /*
  12. * CPU feature overrides for PIC32 boards
  13. */
  14. #ifdef CONFIG_CPU_MIPS32
  15. #define cpu_has_vint 1
  16. #define cpu_has_veic 0
  17. #define cpu_has_tlb 1
  18. #define cpu_has_4kex 1
  19. #define cpu_has_4k_cache 1
  20. #define cpu_has_fpu 0
  21. #define cpu_has_counter 1
  22. #define cpu_has_llsc 1
  23. #define cpu_has_nofpuex 0
  24. #define cpu_icache_snoops_remote_store 1
  25. #endif
  26. #ifdef CONFIG_CPU_MIPS64
  27. #error This platform does not support 64bit.
  28. #endif
  29. #endif /* __ASM_MACH_PIC32_CPU_FEATURE_OVERRIDES_H */