summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-db8500/cpu.h9
-rw-r--r--include/asm-arm/mach-types.h5
2 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-arm/arch-db8500/cpu.h b/include/asm-arm/arch-db8500/cpu.h
index a9d62f4b0..2d18d08d7 100644
--- a/include/asm-arm/arch-db8500/cpu.h
+++ b/include/asm-arm/arch-db8500/cpu.h
@@ -39,6 +39,15 @@ static inline unsigned int read_cpuid(void)
return val;
}
+static inline int u8500_is_snowball(void)
+{
+#ifdef CONFIG_SNOWBALL
+ return 1;
+#else
+ return 0;
+#endif
+}
+
static inline int u8500_is_earlydrop(void)
{
return read_cpuid() == CPUID_DB8500ED;
diff --git a/include/asm-arm/mach-types.h b/include/asm-arm/mach-types.h
index 28ef1e9f2..aa736068b 100644
--- a/include/asm-arm/mach-types.h
+++ b/include/asm-arm/mach-types.h
@@ -3170,6 +3170,11 @@ extern unsigned int __machine_arch_type;
/* manually added, but official value */
#define MACH_TYPE_HREFV60 3293 /* 0x0cdd */
+/* Manually added, unofficial value.
+ * Needs to be kept in sync with kernel machine_id.
+ */
+#define MACH_TYPE_SNOWBALL 2368
+
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
# undef machine_arch_type