[v3 3/8] i2c: mxc_i2c: add DM_FLAG_PRE_RELOC flag

Priyanka Jain priyanka.jain at nxp.com
Thu Dec 5 07:38:50 CET 2019



>-----Original Message-----
>From: Biwen Li <biwen.li at nxp.com>
>Sent: Thursday, December 5, 2019 11:40 AM
>To: Jagdish Gediya <jagdish.gediya at nxp.com>; Priyanka Jain
><priyanka.jain at nxp.com>; hs at denx.de; jagan at amarulasolutions.com;
>aford173 at gmail.com; Alison Wang <alison.wang at nxp.com>;
>bhaskar.upadhaya at nxp.com; feng.li_2 at nxp.com; jh80.chung at samsung.com;
>Pramod Kumar <pramod.kumar_1 at nxp.com>; Rajesh Bhagat
><rajesh.bhagat at nxp.com>; Ruchika Gupta <ruchika.gupta at nxp.com>;
>olteanv at gmail.com
>Cc: Xiaobo Xie <xiaobo.xie at nxp.com>; Jiafei Pan <jiafei.pan at nxp.com>; u-
>boot at lists.denx.de; Biwen Li <biwen.li at nxp.com>
>Subject: [v3 3/8] 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 at nxp.com>
>---
>Changes in v3:
>	- none
>
>Changes in v2:
>	- none
>
> drivers/i2c/mxc_i2c.c | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index
>786b5a2226..6b7ce985b3 100644
>--- 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
>--
>2.17.1
Reviewed-by: Priyanka Jain <priyanka.jain at nxp.com>


More information about the U-Boot mailing list