1 /*
2  * This was automagically generated from arch/nds/tools/mach-types!
3  * Do NOT edit
4  */
5 
6 #ifndef __ASM_NDS32_MACH_TYPE_H
7 #define __ASM_NDS32_MACH_TYPE_H
8 
9 #ifndef __ASSEMBLY__
10 /* The type of machine we're running on */
11 extern unsigned int __machine_arch_type;
12 #endif
13 
14 /* see arch/arm/kernel/arch.c for a description of these */
15 #define MACH_TYPE_ADPAG101P            1
16 #define MACH_TYPE_ADPAE3XX	2
17 
18 #ifdef CONFIG_ARCH_ADPAG101P
19 # ifdef machine_arch_type
20 #  undef machine_arch_type
21 #  define machine_arch_type	__machine_arch_type
22 # else
23 #  define machine_arch_type	MACH_TYPE_ADPAG101P
24 # endif
25 # define machine_is_adpag101p()	(machine_arch_type == MACH_TYPE_ADPAG101P)
26 #else
27 # define machine_is_adpag101p()	(1)
28 #endif
29 
30 #endif /* __ASM_NDS32_MACH_TYPE_H */
31