summaryrefslogtreecommitdiff
path: root/drivers/i2c/imx_lpi2c.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2018-10-18 16:36:01 +0200
committerStefano Babic <sbabic@denx.de>2018-10-22 14:35:57 +0200
commit7677c0de14739fa0e63f97cf290b68bec0c497c1 (patch)
tree0ae9799ce74107a5016648c3653d3bccb4e36885 /drivers/i2c/imx_lpi2c.c
parent517066a7094499712f7fc6f1d5c116427bdced08 (diff)
i2c: imx_lpi2c: fix typo and register base address format
Output the register base address in hex notation. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/i2c/imx_lpi2c.c')
-rw-r--r--drivers/i2c/imx_lpi2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/imx_lpi2c.c b/drivers/i2c/imx_lpi2c.c
index 6c343072fb..4586d4331f 100644
--- a/drivers/i2c/imx_lpi2c.c
+++ b/drivers/i2c/imx_lpi2c.c
@@ -105,7 +105,7 @@ static int bus_i2c_send(struct udevice *bus, u8 *txbuf, int len)
while (len--) {
result = bus_i2c_wait_for_tx_ready(regs);
if (result) {
- debug("i2c: send wait fot tx ready: %d\n", result);
+ debug("i2c: send wait for tx ready: %d\n", result);
return result;
}
writel(*txbuf++, &regs->mtdr);
@@ -482,7 +482,7 @@ static int imx_lpi2c_probe(struct udevice *bus)
if (ret < 0)
return ret;
- debug("i2c : controller bus %d at %lu , speed %d: ",
+ debug("i2c : controller bus %d at 0x%lx , speed %d: ",
bus->seq, i2c_bus->base,
i2c_bus->speed);