i2c: mxc_i2c: add DM_FLAG_PRE_RELOC flag
authorBiwen Li <biwen.li@nxp.com>
Tue, 31 Dec 2019 07:33:39 +0000 (15:33 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 4 Feb 2020 10:50:25 +0000 (16:20 +0530)
commitc69103218ee4733b4dc855ed4706a5a3eadb22a0
tree998fc9a1dc553b1af306fa2e944e865c12e17766
parentbeadf4f28c567723eac337a5dfc7821e7c613d13
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>
drivers/i2c/mxc_i2c.c