Skip to contentSkip to conversation

mx25: Remove empty line after printing the reset cause

PATCH In review Fabio Estevam 2 participants 2 messages Jan 6, 2015 – Jan 9, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx25: Remove empty line after printing the reset cause

From: Fabio Estevam <[email protected]>

Currently there is an unneeded empty line after printing the reset cause:

U-Boot 2015.01-rc4-00080-g0551a93 (Jan 06 2015 - 13:04:19)

CPU: Freescale i.MX25 rev1.2 at 399 MHz
Reset cause: POR

Board: MX25PDK                                                                  
I2C:   ready                                                                    
DRAM:  64 MiB                                                                   
MMC:   FSL_SDHC: 0

Remove the extra "\n" when printing the reset cause.

---
 arch/arm/cpu/arm926ejs/mx25/generic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/cpu/arm926ejs/mx25/generic.c +1 -1
index 4e9c0b5..8912098 100644
@@ -181,7 +181,7 @@ int print_cpuinfo(void)
 		(cpurev & 0xF0) >> 4, (cpurev & 0x0F),
 		((cpurev & 0x8000) ? " unknown" : ""),
 		strmhz(buf, imx_get_armclk()));
-	printf("Reset cause: %s\n\n", get_reset_cause());
+	printf("Reset cause: %s\n", get_reset_cause());
 	return 0;
 }
 #endif
Signature · 1 line
1.9.1
#1 lore raw
Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Currently there is an unneeded empty line after printing the reset cause:

U-Boot 2015.01-rc4-00080-g0551a93 (Jan 06 2015 - 13:04:19)

CPU: Freescale i.MX25 rev1.2 at 399 MHz
Reset cause: POR

Quoted 8 lines
Board: MX25PDK                                                                  
I2C:   ready                                                                    
DRAM:  64 MiB                                                                   
MMC:   FSL_SDHC: 0

Remove the extra "\n" when printing the reset cause.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150109/f1686b26/attachment.pgp>