summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clock-imx27.c
diff options
context:
space:
mode:
authorJason Liu <jason.hui@linaro.org>2011-08-26 07:35:20 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-26 08:50:58 +0200
commit3f5492c51367ed7bf39eaf9f86ba5b4f8a27a111 (patch)
tree1ecd75bf67431b0a7063be235b9170b1eb1dbf7c /arch/arm/mach-imx/clock-imx27.c
parentARM: mx25: Print silicon revision on boot (diff)
downloadlinux-3f5492c51367ed7bf39eaf9f86ba5b4f8a27a111.tar.xz
linux-3f5492c51367ed7bf39eaf9f86ba5b4f8a27a111.zip
ARM: mx27: Print silicon revision on boot
Silicon revision is useful information to have during kernel boot. Print the MX27 silicon revision. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Jason Liu <jason.hui@linaro.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/clock-imx27.c')
-rw-r--r--arch/arm/mach-imx/clock-imx27.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clock-imx27.c b/arch/arm/mach-imx/clock-imx27.c
index 6912b821b37b..e6b1beb4282c 100644
--- a/arch/arm/mach-imx/clock-imx27.c
+++ b/arch/arm/mach-imx/clock-imx27.c
@@ -751,6 +751,8 @@ int __init mx27_clocks_init(unsigned long fref)
clk_enable(&gpio_clk);
clk_enable(&emi_clk);
clk_enable(&iim_clk);
+ imx_print_silicon_rev("i.MX27", mx27_revision());
+ clk_disable(&iim_clk);
#if defined(CONFIG_DEBUG_LL) && !defined(CONFIG_DEBUG_ICEDCC)
clk_enable(&uart1_clk);