[PATCH] ARM: i.MX: print silicon revision with pr_info
Sascha Hauer
s.hauer at pengutronix.de
Tue Nov 11 23:12:20 PST 2014
So that this message can be silenced by reducing the loglevel.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/mach-imx/imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/imx.c b/arch/arm/mach-imx/imx.c
index 07d7ba1..2166369 100644
--- a/arch/arm/mach-imx/imx.c
+++ b/arch/arm/mach-imx/imx.c
@@ -28,7 +28,7 @@ void imx_set_silicon_revision(const char *soc, int revision)
{
__imx_silicon_revision = revision;
- printf("detected %s revision %d.%d\n", soc,
+ pr_info("detected %s revision %d.%d\n", soc,
(revision >> 4) & 0xf,
revision & 0xf);
}
--
2.1.1
More information about the barebox
mailing list