aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/clock-mx51-mx53.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2011-03-17 22:32:11 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-23 10:07:47 -0400
commit76422dbf3ccdd46d925cdb0909445e4616b55187 (patch)
tree782436741dc74d10c46fa5ae2cc0ca1b36f8ae09 /arch/arm/mach-mx5/clock-mx51-mx53.c
parent6447f55da90b77faec1697d499ed7986bb4f6de6 (diff)
ARM: mx51: Print silicon revision on boot
Having the silicon revision to appear on the boot log is a useful information. MX31 and MX35 already show the silicon revision on boot. Add support for displaying such information for MX51 as well. Tested on a MX51EVK, where it shows: CPU identified as i.MX51, silicon rev 3.0 Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/clock-mx51-mx53.c')
-rw-r--r--arch/arm/mach-mx5/clock-mx51-mx53.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/clock-mx51-mx53.c b/arch/arm/mach-mx5/clock-mx51-mx53.c
index 652ace413825..cc6ad1cf48db 100644
--- a/arch/arm/mach-mx5/clock-mx51-mx53.c
+++ b/arch/arm/mach-mx5/clock-mx51-mx53.c
@@ -1511,6 +1511,7 @@ int __init mx51_clocks_init(unsigned long ckil, unsigned long osc,
1511 clk_enable(&iim_clk); 1511 clk_enable(&iim_clk);
1512 mx51_revision(); 1512 mx51_revision();
1513 clk_disable(&iim_clk); 1513 clk_disable(&iim_clk);
1514 mx51_display_revision();
1514 1515
1515 /* move usb_phy_clk to 24MHz */ 1516 /* move usb_phy_clk to 24MHz */
1516 clk_set_parent(&usb_phy1_clk, &osc_clk); 1517 clk_set_parent(&usb_phy1_clk, &osc_clk);