projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
517066a
)
i2c: imx_lpi2c: fix typo and register base address format
author
Anatolij Gustschin
<
[email protected]
>
Thu, 18 Oct 2018 14:36:01 +0000
(16:36 +0200)
committer
Stefano Babic
<
[email protected]
>
Mon, 22 Oct 2018 12:35:57 +0000
(14:35 +0200)
Output the register base address in hex notation.
Signed-off-by: Anatolij Gustschin <
[email protected]
>
Acked-by: Heiko Schocher <
[email protected]
>
drivers/i2c/imx_lpi2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/imx_lpi2c.c
b/drivers/i2c/imx_lpi2c.c
index 6c343072fb248299579e9a3b7d258d41b104f70b..4586d4331fad9df171445aaf7248fdd1133d2152 100644
(file)
--- 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 fo
t
tx ready: %d\n", result);
+ debug("i2c: send wait fo
r
tx ready: %d\n", result);
return result;
}
writel(*txbuf++, ®s->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);