public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] MX31: Improve readability for reset cause
@ 2011-09-16 14:01 Fabio Estevam
  2011-09-19  9:22 ` Stefano Babic
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2011-09-16 14:01 UTC (permalink / raw)
  To: u-boot

Currently the reset cause is printed like:
CPU:   Freescale i.MX31 rev 2.0 at 531 MHz.Reset cause: POR

Improve readability by adding a new line like it is done on other i.MX boards.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/cpu/arm1136/mx31/generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c
index e3a4d1b..c6def5d 100644
--- a/arch/arm/cpu/arm1136/mx31/generic.c
+++ b/arch/arm/cpu/arm1136/mx31/generic.c
@@ -180,7 +180,7 @@ int print_cpuinfo (void)
 {
 	u32 srev = get_cpu_rev();
 
-	printf("CPU:   Freescale i.MX31 rev %d.%d%s at %d MHz.",
+	printf("CPU:   Freescale i.MX31 rev %d.%d%s at %d MHz.\n",
 			(srev & 0xF0) >> 4, (srev & 0x0F),
 			((srev & 0x8000) ? " unknown" : ""),
 			mx31_get_mcu_main_clk() / 1000000);
-- 
1.6.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-19  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-16 14:01 [U-Boot] [PATCH] MX31: Improve readability for reset cause Fabio Estevam
2011-09-19  9:22 ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox