Message ID | 20200928004624.1652803-12-sjg@chromium.org |
---|---|
State | Accepted |
Commit | acdd248bf27abc1f4621e90665d2cc281b832313 |
Delegated to: | Tom Rini |
Headers | show |
Series | Various minor patches | expand |
Hello Simon, Am 28.09.2020 um 02:46 schrieb Simon Glass: > We don't want the debug output to be visible in a normal boot. Silence it. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > drivers/i2c/designware_i2c.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Heiko Schocher<hs@denx.de> bye, Heiko
On Sun, Sep 27, 2020 at 06:46:23PM -0600, Simon Glass wrote: > 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> Applied to u-boot/master, thanks!
diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c/designware_i2c.c index 569a5d39b49..791f32e971c 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); }
We don't want the debug output to be visible in a normal boot. Silence it. Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/i2c/designware_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)