Skip to content
Snippets Groups Projects
Commit c8434cca authored by Fabio Estevam's avatar Fabio Estevam Committed by Stefano Babic
Browse files

thermal: imx_thermal: Do not print on error


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: default avatarFabio Estevam <fabio.estevam@freescale.com>
parent ada5771f
No related branches found
No related tags found
No related merge requests found
......@@ -232,7 +232,7 @@ static int imx_thermal_probe(struct udevice *dev)
if (is_soc_type(MXC_SOC_MX6)) {
/* Check for valid fuse */
if (fuse == 0 || fuse == ~0) {
printf("CPU: Thermal invalid data, fuse: 0x%x\n",
debug("CPU: Thermal invalid data, fuse: 0x%x\n",
fuse);
return -EPERM;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment