diff options
author | Simon Glass <sjg@chromium.org> | 2020-09-28 03:46:23 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-22 16:54:52 +0300 |
commit | acdd248bf27abc1f4621e90665d2cc281b832313 (patch) | |
tree | d030bf4c10af6d0f2e91d252a92e2a94819cad04 /drivers/i2c/designware_i2c.c | |
parent | 5630d2fbc50f3035e3234315fb1ebed198d3292d (diff) | |
download | u-boot-acdd248bf27abc1f4621e90665d2cc281b832313.tar.xz |
i2c: designware: Use log_debug() for debugging
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>
Diffstat (limited to 'drivers/i2c/designware_i2c.c')
-rw-r--r-- | drivers/i2c/designware_i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c index 569a5d39b4..791f32e971 100644 --- a/drivers/i2c/designware_i2c.c +++ b/drivers/i2c/designware_i2c.c @@ -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); } |