Commit f84b9d512f92b66076357820b1003a1006ff619d
1 parent
0b70df1d0e
Exists in
smarc-n7.1.2_2.0.0-ga
and in
4 other branches
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>
Showing 1 changed file with 4 additions and 3 deletions Side-by-side Diff
arch/arm/imx-common/cpu.c
... | ... | @@ -232,12 +232,13 @@ |
232 | 232 | ret = thermal_get_temp(thermal_dev, &cpu_tmp); |
233 | 233 | |
234 | 234 | if (!ret) |
235 | - printf(" at %dC\n", cpu_tmp); | |
235 | + printf(" at %dC", cpu_tmp); | |
236 | 236 | else |
237 | - debug(" - invalid sensor data\n"); | |
237 | + debug(" - invalid sensor data"); | |
238 | 238 | } else { |
239 | - debug(" - invalid sensor device\n"); | |
239 | + debug(" - invalid sensor device"); | |
240 | 240 | } |
241 | + printf("\n"); | |
241 | 242 | #endif |
242 | 243 | |
243 | 244 | #if defined(CONFIG_DBG_MONITOR) |