diff options
author | Jason Liu <jason.hui@linaro.org> | 2011-08-26 01:35:22 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-26 02:50:59 -0400 |
commit | 8d75a2620dc3e33ce504044c375c443ed7ed4128 (patch) | |
tree | 1417a2339770f8119c6a92ad40d61b670210bad6 /arch/arm/plat-mxc | |
parent | ab116a86faf6aeafd0acf766c0c5d9475bf8493e (diff) |
ARM: mx35: use generic function for displaying silicon revision
update to use generic function for displaying silicon revision
Signed-off-by: Jason Liu <jason.hui@linaro.org>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx3x.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx3x.h b/arch/arm/plat-mxc/include/mach/mx3x.h index e1850f41722..30dbf424583 100644 --- a/arch/arm/plat-mxc/include/mach/mx3x.h +++ b/arch/arm/plat-mxc/include/mach/mx3x.h | |||
@@ -187,14 +187,7 @@ | |||
187 | /* Mandatory defines used globally */ | 187 | /* Mandatory defines used globally */ |
188 | 188 | ||
189 | #if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS) | 189 | #if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS) |
190 | extern unsigned int mx35_cpu_rev; | 190 | extern int mx35_revision(void); |
191 | extern void mx35_read_cpu_rev(void); | ||
192 | |||
193 | static inline int mx35_revision(void) | ||
194 | { | ||
195 | return mx35_cpu_rev; | ||
196 | } | ||
197 | |||
198 | extern int mx31_revision(void); | 191 | extern int mx31_revision(void); |
199 | #endif | 192 | #endif |
200 | 193 | ||