diff options
Diffstat (limited to 'arch/arm/mach-mx5/cpu.c')
-rw-r--r-- | arch/arm/mach-mx5/cpu.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/cpu.c b/arch/arm/mach-mx5/cpu.c index df46b5e60857..3b4c30743052 100644 --- a/arch/arm/mach-mx5/cpu.c +++ b/arch/arm/mach-mx5/cpu.c | |||
@@ -51,6 +51,26 @@ int mx51_revision(void) | |||
51 | } | 51 | } |
52 | EXPORT_SYMBOL(mx51_revision); | 52 | EXPORT_SYMBOL(mx51_revision); |
53 | 53 | ||
54 | void mx51_display_revision(void) | ||
55 | { | ||
56 | int rev; | ||
57 | char *srev; | ||
58 | rev = mx51_revision(); | ||
59 | |||
60 | switch (rev) { | ||
61 | case IMX_CHIP_REVISION_2_0: | ||
62 | srev = IMX_CHIP_REVISION_2_0_STRING; | ||
63 | break; | ||
64 | case IMX_CHIP_REVISION_3_0: | ||
65 | srev = IMX_CHIP_REVISION_3_0_STRING; | ||
66 | break; | ||
67 | default: | ||
68 | srev = IMX_CHIP_REVISION_UNKNOWN_STRING; | ||
69 | } | ||
70 | printk(KERN_INFO "CPU identified as i.MX51, silicon rev %s\n", srev); | ||
71 | } | ||
72 | EXPORT_SYMBOL(mx51_display_revision); | ||
73 | |||
54 | #ifdef CONFIG_NEON | 74 | #ifdef CONFIG_NEON |
55 | 75 | ||
56 | /* | 76 | /* |