mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 21:54:37 +08:00
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
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user