]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/nds32/include/asm/mach-types.h
Merge branch 'sr@denx.de' of git://git.denx.de/u-boot-staging
[karo-tx-uboot.git] / arch / nds32 / include / asm / mach-types.h
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_ADPAG101             0
16
17 #ifdef CONFIG_ARCH_ADPAG101
18 # ifdef machine_arch_type
19 #  undef machine_arch_type
20 #  define machine_arch_type     __machine_arch_type
21 # else
22 #  define machine_arch_type     MACH_TYPE_ADPAG101
23 # endif
24 # define machine_is_adpag101()  (machine_arch_type == MACH_TYPE_ADPAG101)
25 #else
26 # define machine_is_adpag101()  (0)
27 #endif
28
29 #define MACH_TYPE_ADPAG101P            1
30
31 #ifdef CONFIG_ARCH_ADPAG101P
32 # ifdef machine_arch_type
33 #  undef machine_arch_type
34 #  define machine_arch_type     __machine_arch_type
35 # else
36 #  define machine_arch_type     MACH_TYPE_ADPAG101P
37 # endif
38 # define machine_is_adpag101p() (machine_arch_type == MACH_TYPE_ADPAG101P)
39 #else
40 # define machine_is_adpag101p() (1)
41 #endif
42
43 #endif /* __ASM_NDS32_MACH_TYPE_H */