summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Brandt <michael.brandt@stericsson.com>2011-01-14 13:03:34 +0100
committerMichael BRANDT <michael.brandt@stericsson.com>2011-01-18 10:08:30 +0100
commit64f2334f25adf74cb469b68e03ecf82e7f0d6318 (patch)
treee3c4a0854ffa4a060b3df079312418125f13c032 /include
parent80c29457c21dbe1f9994bf2d173c329cf3c7227a (diff)
U8500: Add support for HREFP 2.0 V60 and later
The HREFP 2.0 V60 has no GPIO expander, therefore some GPIO lines were moved around. The preferred approach was to first check if there is a machid in the environment. And if not try to program the GPIOE. If that fails, assume it is a V60 or newer. But for the splash screen, we need to know very early on which HW version we are running. At that time no environment is available, therefore it is unavoidable to do the I2C access (10 ms timeout), if both HW versions shall be supported in one binary. CAUTION: you need also a Linux kernel which supports MACH_TYPE_HREFV60. Older U8500 kernels will not even issue a start-up message. Depends-On: http://gerrit.lud.stericsson.com/gerrit/12335 ST-Ericsson ID: CR 272893 Change-Id: Id794df8c185dfbf67f7bce81deb49abf71129f7b Signed-off-by: Michael Brandt <michael.brandt@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12578 Reviewed-by: Torbjorn SVENSSON <torbjorn.x.svensson@stericsson.com> Reviewed-by: Robert ROSENGREN <robert.rosengren@stericsson.com> Reviewed-by: Markus HELGESSON <markus.helgesson@stericsson.com> Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/mach-types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/mach-types.h b/include/asm-arm/mach-types.h
index 8f90ed1a3..28ef1e9f2 100644
--- a/include/asm-arm/mach-types.h
+++ b/include/asm-arm/mach-types.h
@@ -3167,6 +3167,9 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_PHILHWANI 3184
#define MACH_TYPE_GSNCOMM 3185
+/* manually added, but official value */
+#define MACH_TYPE_HREFV60 3293 /* 0x0cdd */
+
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
# undef machine_arch_type