aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/include/mach/cputype.h
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2009-03-20 12:50:22 +0800
committerEric Miao <eric.miao@marvell.com>2009-03-23 10:11:35 +0800
commit14c6b5e7add9ec393ad61bceb6106b47c7f14bd3 (patch)
tree525cf72ac77f27201902b85e904b45df529cca68 /arch/arm/mach-mmp/include/mach/cputype.h
parenta6b993c6b5183fe2af98569cbb7dd8add01b8deb (diff)
[ARM] pxa: add base support for Marvell PXA910
Signed-off-by: Bin Yang <bin.yang@marvell.com> Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-mmp/include/mach/cputype.h')
-rw-r--r--arch/arm/mach-mmp/include/mach/cputype.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/include/mach/cputype.h b/arch/arm/mach-mmp/include/mach/cputype.h
index 4ceed7a5075..25e797b0908 100644
--- a/arch/arm/mach-mmp/include/mach/cputype.h
+++ b/arch/arm/mach-mmp/include/mach/cputype.h
@@ -7,6 +7,7 @@
* CPU Stepping OLD_ID CPU_ID CHIP_ID
*
* PXA168 A0 0x41159263 0x56158400 0x00A0A333
+ * PXA910 Y0 0x41159262 0x56158000 0x00F0C910
*/
#ifdef CONFIG_CPU_PXA168
@@ -16,6 +17,14 @@
# define __cpu_is_pxa168(id) (0)
#endif
+#ifdef CONFIG_CPU_PXA910
+# define __cpu_is_pxa910(id) \
+ ({ unsigned int _id = ((id) >> 8) & 0xff; _id == 0x80; })
+#else
+# define __cpu_is_pxa910(id) (0)
+#endif
+
#define cpu_is_pxa168() ({ __cpu_is_pxa168(read_cpuid_id()); })
+#define cpu_is_pxa910() ({ __cpu_is_pxa910(read_cpuid_id()); })
#endif /* __ASM_MACH_CPUTYPE_H */