]> git.sur5r.net Git - u-boot/blob - arch/mips/include/asm/cpu-features.h
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / mips / include / asm / cpu-features.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2003, 2004 Ralf Baechle
4  * Copyright (C) 2004  Maciej W. Rozycki
5  */
6 #ifndef __ASM_CPU_FEATURES_H
7 #define __ASM_CPU_FEATURES_H
8
9 #include <cpu-feature-overrides.h>
10
11 #ifdef CONFIG_32BIT
12 # ifndef cpu_has_64bits
13 # define cpu_has_64bits                 0
14 # endif
15 # ifndef cpu_has_64bit_addresses
16 # define cpu_has_64bit_addresses        0
17 # endif
18 #endif
19
20 #ifdef CONFIG_64BIT
21 # ifndef cpu_has_64bits
22 # define cpu_has_64bits                 1
23 # endif
24 # ifndef cpu_has_64bit_addresses
25 # define cpu_has_64bit_addresses        1
26 # endif
27 #endif
28
29 #endif /* __ASM_CPU_FEATURES_H */