i2c: mxc: add fuse check
authorPeng Fan <peng.fan@nxp.com>
Fri, 1 May 2020 14:08:35 +0000 (22:08 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 10 May 2020 11:21:20 +0000 (13:21 +0200)
commit7d1ee741d1367172eaf92c554ebf56b9cba13504
tree3ac4bc9b8b33f82d10ff20b6eea52fe15bef5f2a
parent3c42c0f6734601540bd2be5e83ca12e05079222a
i2c: mxc: add fuse check

Add fuse check for I2C. If the fuse indicates the module
will not work in the SoC, let's fail the initialization.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/i2c/mxc_i2c.c