diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2011-03-25 11:52:47 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-05-19 07:11:00 -0400 |
commit | 2d95378b043f082192a11f8476e3f63291c3477b (patch) | |
tree | cbbff497f70ab4863362bed263b1e59e697599c3 /arch/arm/plat-mxc | |
parent | 0575b4b83edb0a766a9c1518a5da57780f386340 (diff) |
ARM: mx53: Print silicon revision on boot
Having the silicon revision to appear on the boot log is a useful information.
MX31, MX35 and MX51 already show the silicon revision on boot.
Add support for displaying such information for MX53 as well.
Tested on a mx53loco board, where it shows:
CPU identified as i.MX53, silicon rev 2.0
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
LAKML-Reference: 1301068367-18937-1-git-send-email-fabio.estevam@freescale.com
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@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/common.h | 1 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx53.h | 13 |
2 files changed, 1 insertions, 13 deletions
diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h index a22ebe11a602..bfa1ffca5d79 100644 --- a/arch/arm/plat-mxc/include/mach/common.h +++ b/arch/arm/plat-mxc/include/mach/common.h | |||
@@ -68,4 +68,5 @@ extern void mxc91231_arch_reset(int, const char *); | |||
68 | extern void mxc91231_prepare_idle(void); | 68 | extern void mxc91231_prepare_idle(void); |
69 | extern void mx51_efikamx_reset(void); | 69 | extern void mx51_efikamx_reset(void); |
70 | extern int mx53_revision(void); | 70 | extern int mx53_revision(void); |
71 | extern int mx53_display_revision(void); | ||
71 | #endif | 72 | #endif |
diff --git a/arch/arm/plat-mxc/include/mach/mx53.h b/arch/arm/plat-mxc/include/mach/mx53.h index ace17864575e..9d2a1ef84de2 100644 --- a/arch/arm/plat-mxc/include/mach/mx53.h +++ b/arch/arm/plat-mxc/include/mach/mx53.h | |||
@@ -337,17 +337,4 @@ | |||
337 | #define MX53_INT_GPIO7_LOW 107 | 337 | #define MX53_INT_GPIO7_LOW 107 |
338 | #define MX53_INT_GPIO7_HIGH 108 | 338 | #define MX53_INT_GPIO7_HIGH 108 |
339 | 339 | ||
340 | /* silicon revisions specific to i.MX53 */ | ||
341 | #define MX53_CHIP_REV_1_0 0x10 | ||
342 | #define MX53_CHIP_REV_1_1 0x11 | ||
343 | #define MX53_CHIP_REV_1_2 0x12 | ||
344 | #define MX53_CHIP_REV_1_3 0x13 | ||
345 | #define MX53_CHIP_REV_2_0 0x20 | ||
346 | #define MX53_CHIP_REV_2_1 0x21 | ||
347 | #define MX53_CHIP_REV_2_2 0x22 | ||
348 | #define MX53_CHIP_REV_2_3 0x23 | ||
349 | #define MX53_CHIP_REV_3_0 0x30 | ||
350 | #define MX53_CHIP_REV_3_1 0x31 | ||
351 | #define MX53_CHIP_REV_3_2 0x32 | ||
352 | |||
353 | #endif /* ifndef __MACH_MX53_H__ */ | 340 | #endif /* ifndef __MACH_MX53_H__ */ |