i2c: mxc_i2c: add DM_FLAG_PRE_RELOC flag
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>
This commit is contained in:
parent
beadf4f28c
commit
c69103218e
1 changed files with 1 additions and 0 deletions
|
@ -1049,5 +1049,6 @@ U_BOOT_DRIVER(i2c_mxc) = {
|
||||||
.probe = mxc_i2c_probe,
|
.probe = mxc_i2c_probe,
|
||||||
.priv_auto_alloc_size = sizeof(struct mxc_i2c_bus),
|
.priv_auto_alloc_size = sizeof(struct mxc_i2c_bus),
|
||||||
.ops = &mxc_i2c_ops,
|
.ops = &mxc_i2c_ops,
|
||||||
|
.flags = DM_FLAG_PRE_RELOC,
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue