]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/nds32/include/asm/mach-types.h
NDS32: Generic Board Support and Unsupport
[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_ADPAG101P            1
16
17 #ifdef CONFIG_ARCH_ADPAG101P
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_ADPAG101P
23 # endif
24 # define machine_is_adpag101p() (machine_arch_type == MACH_TYPE_ADPAG101P)
25 #else
26 # define machine_is_adpag101p() (1)
27 #endif
28
29 #endif /* __ASM_NDS32_MACH_TYPE_H */