From 371be1e012cbe47fd2f7545a949e4ffb55d8608b Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Tue, 3 Jan 2023 16:03:44 -0300 Subject: i2c: mxc_i2c: Use hex notation for the base address Printing the I2C controller base address in decimal notation is not helpful. Change it to hex notation, which is the standard format found in the Reference Manual and devicetree. Signed-off-by: Fabio Estevam Acked-by: Dhruva Gole Reviewed-by: Heiko Schocher --- drivers/i2c/mxc_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/i2c') diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 86b9fb5..d501133 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -938,7 +938,7 @@ static int mxc_i2c_probe(struct udevice *bus) * we can set pinmux here in probe function. */ - debug("i2c : controller bus %d at %lu , speed %d: ", + debug("i2c : controller bus %d at 0x%lx , speed %d: ", dev_seq(bus), i2c_bus->base, i2c_bus->speed); -- cgit v1.1