i2c: designware: Use log_debug() for debugging
authorSimon Glass <sjg@chromium.org>
Mon, 28 Sep 2020 00:46:23 +0000 (18:46 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2020 13:54:52 +0000 (09:54 -0400)
We don't want the debug output to be visible in a normal boot. Silence it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher<hs@denx.de>
drivers/i2c/designware_i2c.c

index 569a5d3..791f32e 100644 (file)
@@ -807,8 +807,8 @@ int designware_i2c_probe(struct udevice *bus)
                return -ENXIO;
        }
 
-       log_info("I2C bus %s version %#x\n", bus->name,
-                readl(&priv->regs->comp_version));
+       log_debug("I2C bus %s version %#x\n", bus->name,
+                 readl(&priv->regs->comp_version));
 
        return __dw_i2c_init(priv->regs, 0, 0);
 }