mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02: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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user