summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-05-09 04:34:37 -0500
committerYe Li <ye.li@nxp.com>2017-05-09 04:34:37 -0500
commitf84b9d512f92b66076357820b1003a1006ff619d (patch)
treeae5f5db8bb5190c475b4800d24d931f2ba462acc
parent0b70df1d0e888d046cec4bd030c78eb746270ec0 (diff)
downloadu-boot-imx-f84b9d512f92b66076357820b1003a1006ff619d.zip
u-boot-imx-f84b9d512f92b66076357820b1003a1006ff619d.tar.gz
u-boot-imx-f84b9d512f92b66076357820b1003a1006ff619d.tar.bz2
MLK-14839-2 imx: clean up print info for thermal and reset cause
Clean up the print info, so that the reset cause print can display in a new line. Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r--arch/arm/imx-common/cpu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c
index d494e9b..b4c0492 100644
--- a/arch/arm/imx-common/cpu.c
+++ b/arch/arm/imx-common/cpu.c
@@ -232,12 +232,13 @@ int print_cpuinfo(void)
ret = thermal_get_temp(thermal_dev, &cpu_tmp);
if (!ret)
- printf(" at %dC\n", cpu_tmp);
+ printf(" at %dC", cpu_tmp);
else
- debug(" - invalid sensor data\n");
+ debug(" - invalid sensor data");
} else {
- debug(" - invalid sensor device\n");
+ debug(" - invalid sensor device");
}
+ printf("\n");
#endif
#if defined(CONFIG_DBG_MONITOR)