projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beadf4f
)
i2c: mxc_i2c: add DM_FLAG_PRE_RELOC flag
author
Biwen Li
<biwen.li@nxp.com>
Tue, 31 Dec 2019 07:33:39 +0000
(15:33 +0800)
committer
Priyanka Jain
<priyanka.jain@nxp.com>
Tue, 4 Feb 2020 10:50:25 +0000
(16:20 +0530)
This adds DM_FLAG_PRE_RELOC flag to probe i2c driver
before relocation
Signed-off-by: Biwen Li <biwen.li@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/i2c/mxc_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/mxc_i2c.c
b/drivers/i2c/mxc_i2c.c
index 786b5a2226b65f3f70db6c837273ec9a55948fc5..6b7ce985b3aaa4a6754da4295bed6f14cf21bb6f 100644
(file)
--- a/
drivers/i2c/mxc_i2c.c
+++ b/
drivers/i2c/mxc_i2c.c
@@
-1049,5
+1049,6
@@
U_BOOT_DRIVER(i2c_mxc) = {
.probe = mxc_i2c_probe,
.priv_auto_alloc_size = sizeof(struct mxc_i2c_bus),
.ops = &mxc_i2c_ops,
+ .flags = DM_FLAG_PRE_RELOC,
};
#endif