From 64f2334f25adf74cb469b68e03ecf82e7f0d6318 Mon Sep 17 00:00:00 2001 From: Michael Brandt Date: Fri, 14 Jan 2011 13:03:34 +0100 Subject: 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 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12578 Reviewed-by: Torbjorn SVENSSON Reviewed-by: Robert ROSENGREN Reviewed-by: Markus HELGESSON Reviewed-by: Bibek BASU --- include/asm-arm/mach-types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.2.3