]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx-common: cpu: Do not print on invalid temperature
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 8 Sep 2015 17:43:10 +0000 (14:43 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 13 Sep 2015 08:50:55 +0000 (10:50 +0200)
commit3a384b494c01a5e10895dacfa3fff3b2947f653d
treef3885503a9cfa7ea9ace86781d0a92bc7f9c8fa6
parentc8434ccaceb987babfc925fe86db473a44352cf4
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>
arch/arm/imx-common/cpu.c