diff options
author | Fabio Estevam <festevam@denx.de> | 2023-01-03 16:03:44 -0300 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2023-02-13 09:57:30 +0100 |
commit | 371be1e012cbe47fd2f7545a949e4ffb55d8608b (patch) | |
tree | 91e2ae74be4e0c7b4ba0e9f495d55aba9b4a4bf1 | |
parent | a5e490f14e904fd240ccec5d364509b36a3150f9 (diff) | |
download | u-boot-371be1e012cbe47fd2f7545a949e4ffb55d8608b.zip u-boot-371be1e012cbe47fd2f7545a949e4ffb55d8608b.tar.gz u-boot-371be1e012cbe47fd2f7545a949e4ffb55d8608b.tar.bz2 |
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 <festevam@denx.de>
Acked-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
-rw-r--r-- | drivers/i2c/mxc_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |