diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-09-08 17:43:10 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-09-13 08:50:55 (GMT) |
commit | 3a384b494c01a5e10895dacfa3fff3b2947f653d (patch) | |
tree | f3885503a9cfa7ea9ace86781d0a92bc7f9c8fa6 /arch/arm/imx-common | |
parent | c8434ccaceb987babfc925fe86db473a44352cf4 (diff) | |
download | u-boot-3a384b494c01a5e10895dacfa3fff3b2947f653d.tar.xz |
imx-common: cpu: Do not print on invalid temperature
It is not very useful to have the message below on every boot
(especially when we are using early silicon):
U-Boot 2015.10-rc2-23945-g37cf215 (Sep 08 2015 - 14:12:14 -0300)
CPU: Freescale i.MX6UL rev1.0 792 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C)CPU: Thermal invalid data, fuse: 0x0
- invalid sensor device
, so turn the error message into debug level.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'arch/arm/imx-common')
-rw-r--r-- | arch/arm/imx-common/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index dc6d959..d3d1fc5 100644 --- a/arch/arm/imx-common/cpu.c +++ b/arch/arm/imx-common/cpu.c @@ -220,9 +220,9 @@ int print_cpuinfo(void) if (!ret) printf(" at %dC\n", cpu_tmp); else - puts(" - invalid sensor data\n"); + debug(" - invalid sensor data\n"); } else { - puts(" - invalid sensor device\n"); + debug(" - invalid sensor device\n"); } #endif |