[PATCH] ARM: mx27: Reenable silicon version print

Subsystems: arm port, the rest

STALE5170d

2 messages, 2 authors, 2012-07-09 · open the first message on its own page

[PATCH] ARM: mx27: Reenable silicon version print

From: festevam@gmail.com (Fabio Estevam)
Date: 2012-07-06 22:04:35

From: Fabio Estevam <redacted>

Prior to the new i.mx clock conversion the mx27 silicon version was printed at boot.

Reenable this feature.

Signed-off-by: Fabio Estevam <redacted>
---
 arch/arm/mach-imx/clk-imx27.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c
index e8a6016..c9370bf 100644
--- a/arch/arm/mach-imx/clk-imx27.c
+++ b/arch/arm/mach-imx/clk-imx27.c
@@ -269,6 +269,8 @@ int __init mx27_clocks_init(unsigned long fref)
 
 	clk_prepare_enable(clk[emi_ahb_gate]);
 
+	imx_print_silicon_rev("i.MX27", mx27_revision());
+
 	return 0;
 }
 
-- 
1.7.1

[PATCH] ARM: mx27: Reenable silicon version print

From: s.hauer@pengutronix.de (Sascha Hauer)
Date: 2012-07-09 06:52:47

On Fri, Jul 06, 2012 at 07:04:35PM -0300, Fabio Estevam wrote:
From: Fabio Estevam <redacted>

Prior to the new i.mx clock conversion the mx27 silicon version was printed at boot.

Reenable this feature.
Applied, thanks.

Sascha
quoted hunk
Signed-off-by: Fabio Estevam <redacted>
---
 arch/arm/mach-imx/clk-imx27.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c
index e8a6016..c9370bf 100644
--- a/arch/arm/mach-imx/clk-imx27.c
+++ b/arch/arm/mach-imx/clk-imx27.c
@@ -269,6 +269,8 @@ int __init mx27_clocks_init(unsigned long fref)
 
 	clk_prepare_enable(clk[emi_ahb_gate]);
 
+	imx_print_silicon_rev("i.MX27", mx27_revision());
+
 	return 0;
 }
 
-- 
1.7.1
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help