aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/mach-types.h
diff options
context:
space:
mode:
authorPaer-Olof Haakansson <par-olof.hakansson@stericsson.com>2011-10-28 13:38:57 +0200
committerPar-Olof HAKANSSON <par-olof.hakansson@stericsson.com>2011-11-25 08:44:15 +0100
commit17651dcf23fd4e5654b191d6d706091d5a3faf17 (patch)
tree46b62075635ae5b9f373d13164fdb3cc0d40c58b /include/asm-arm/mach-types.h
parent87b7d979d89b513de80cba9a3deef3741b9b066e (diff)
Add support for AP9500 in same binary as for U8500
Checks ASIC ID and skips trying to load ITP and modem in case the ASIC belongs to the AP9500 family. Copies tee functionality from U5500 board and uses secure world call to retrieve the ASIC ID. ST-Ericsson ID: 363927 ST-Ericsson FOSS-OUT ID: NA Change-Id: I37aed523679e62286e2ac023ce75e928afe3fcf1 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35765 Reviewed-by: QATOOLS Reviewed-by: Daniel FLINK <daniel.flink@stericsson.com> Reviewed-by: QATEST Reviewed-by: Par-Olof HAKANSSON <par-olof.hakansson@stericsson.com> Tested-by: Par-Olof HAKANSSON <par-olof.hakansson@stericsson.com>
Diffstat (limited to 'include/asm-arm/mach-types.h')
-rw-r--r--include/asm-arm/mach-types.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-arm/mach-types.h b/include/asm-arm/mach-types.h
index 28ef1e9f2..65a35fe43 100644
--- a/include/asm-arm/mach-types.h
+++ b/include/asm-arm/mach-types.h
@@ -3166,6 +3166,7 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_SPADE_LTE 3183
#define MACH_TYPE_PHILHWANI 3184
#define MACH_TYPE_GSNCOMM 3185
+#define MACH_TYPE_A9500 3867
/* manually added, but official value */
#define MACH_TYPE_HREFV60 3293 /* 0x0cdd */
@@ -31226,6 +31227,18 @@ extern unsigned int __machine_arch_type;
# define machine_is_u8500() (0)
#endif
+#ifdef CONFIG_MACH_A9500
+# ifdef machine_arch_type
+# undef machine_arch_type
+# define machine_arch_type __machine_arch_type
+# else
+# define machine_arch_type MACH_TYPE_A9500
+# endif
+# define machine_is_a9500() (machine_arch_type == MACH_TYPE_A9500)
+#else
+# define machine_is_a9500() (0)
+#endif
+
#ifdef CONFIG_MACH_HUQIU
# ifdef machine_arch_type
# undef machine_arch_type