summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Conley <cconley@phytec.com>2013-08-07 09:21:22 -0700
committerAnthony Felice <tony.felice@timesys.com>2013-09-17 14:48:28 -0400
commitaba7473b8aab9ce6a10efb4d98afb0032777fd9c (patch)
tree531191cc0706161a4389cf604cd4a5e90b0beb00
parent8d165822614dbdfe257c6edb45c77517a51280d2 (diff)
PCL052 build and configuration support
Signed-off-by: Chris Conley <cconley@phytec.com> Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
-rw-r--r--arch/arm/include/asm/mach-types.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-types.h b/arch/arm/include/asm/mach-types.h
index 1e216ffe49..056406a494 100644
--- a/arch/arm/include/asm/mach-types.h
+++ b/arch/arm/include/asm/mach-types.h
@@ -1110,6 +1110,7 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_VYBRID_VF5XX 4147
#define MACH_TYPE_VYBRID_VF4XX 4148
#define MACH_TYPE_PCM052 4391
+#define MACH_TYPE_PCL052 4693
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
@@ -14287,6 +14288,17 @@ extern unsigned int __machine_arch_type;
# define machine_is_pcm052() (0)
#endif
+#ifdef CONFIG_MACH_PCL052
+# ifdef machine_arch_type
+# undef machine_arch_type
+# define machine_arch_type __machine_arch_type
+# else
+# define machine_arch_type MACH_TYPE_PCL052
+# endif
+# define machine_is_pcl052() (machine_arch_type == MACH_TYPE_PCL052)
+#else
+# define machine_is_pcl052() (0)
+#endif
/*
* These have not yet been registered
*/