Patchwork ARM: mx27: Reenable silicon version print

login
register
mail settings
Submitter Fabio Estevam
Date July 6, 2012, 10:04 p.m.
Message ID <1341612275-4464-1-git-send-email-festevam@gmail.com>
Download mbox | patch
Permalink /patch/169544/
State New
Headers show

Comments

Fabio Estevam - July 6, 2012, 10:04 p.m.
From: Fabio Estevam <fabio.estevam@freescale.com>

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

Reenable this feature.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/mach-imx/clk-imx27.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Sascha Hauer - July 9, 2012, 6:52 a.m.
On Fri, Jul 06, 2012 at 07:04:35PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Prior to the new i.mx clock conversion the mx27 silicon version was printed at boot.
> 
> Reenable this feature.

Applied, thanks.

Sascha

> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  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

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;
 }