summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-09-08 14:43:09 -0300
committerStefano Babic <sbabic@denx.de>2015-09-13 10:49:21 +0200
commitc8434ccaceb987babfc925fe86db473a44352cf4 (patch)
tree2bb655d47496129720394ed4ea30f857fe41744d
parentada5771f09c25c7a77f8b8d6472315986441d190 (diff)
downloadu-boot-imx-c8434ccaceb987babfc925fe86db473a44352cf4.zip
u-boot-imx-c8434ccaceb987babfc925fe86db473a44352cf4.tar.gz
u-boot-imx-c8434ccaceb987babfc925fe86db473a44352cf4.tar.bz2
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: Fabio Estevam <fabio.estevam@freescale.com>
-rw-r--r--drivers/thermal/imx_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index ca35be8..09a3c52 100644
--- a/drivers/thermal/imx_thermal.c
+++ b/drivers/thermal/imx_thermal.c
@@ -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;
}