summaryrefslogtreecommitdiffstats
path: root/arch/nds32/include/asm/mach-types.h
blob: a6f1c93494a63df3bb0d2f4774433e4834ea39c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * This was automagically generated from arch/nds/tools/mach-types!
 * Do NOT edit
 */

#ifndef __ASM_NDS32_MACH_TYPE_H
#define __ASM_NDS32_MACH_TYPE_H

#ifndef __ASSEMBLY__
/* The type of machine we're running on */
extern unsigned int __machine_arch_type;
#endif

/* see arch/arm/kernel/arch.c for a description of these */
#define MACH_TYPE_ADPAG101             0

#ifdef CONFIG_ARCH_ADPAG101
# ifdef machine_arch_type
#  undef machine_arch_type
#  define machine_arch_type	__machine_arch_type
# else
#  define machine_arch_type	MACH_TYPE_ADPAG101
# endif
# define machine_is_adpag101()	(machine_arch_type == MACH_TYPE_ADPAG101)
#else
# define machine_is_adpag101()	(0)
#endif

#endif /* __ASM_NDS32_MACH_TYPE_H */
OpenPOWER on IntegriCloud