diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx3x.h')
| -rw-r--r-- | arch/arm/plat-mxc/include/mach/mx3x.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx3x.h b/arch/arm/plat-mxc/include/mach/mx3x.h index 388a407d72d6..30dbf424583e 100644 --- a/arch/arm/plat-mxc/include/mach/mx3x.h +++ b/arch/arm/plat-mxc/include/mach/mx3x.h | |||
| @@ -187,22 +187,8 @@ | |||
| 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 | 190 | extern int mx35_revision(void); | |
| 191 | extern unsigned int mx31_cpu_rev; | 191 | extern int mx31_revision(void); |
| 192 | extern void mx31_read_cpu_rev(void); | ||
| 193 | |||
| 194 | static inline int mx31_revision(void) | ||
| 195 | { | ||
| 196 | return mx31_cpu_rev; | ||
| 197 | } | ||
| 198 | |||
| 199 | extern unsigned int mx35_cpu_rev; | ||
| 200 | extern void mx35_read_cpu_rev(void); | ||
| 201 | |||
| 202 | static inline int mx35_revision(void) | ||
| 203 | { | ||
| 204 | return mx35_cpu_rev; | ||
| 205 | } | ||
| 206 | #endif | 192 | #endif |
| 207 | 193 | ||
| 208 | #endif /* ifndef __MACH_MX3x_H__ */ | 194 | #endif /* ifndef __MACH_MX3x_H__ */ |
