MLK-19433-3 mxc_ocotp: Disable fuse sense for imx8mq B1
authorYe Li <ye.li@nxp.com>
Mon, 3 Sep 2018 07:53:20 +0000 (00:53 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:36:39 +0000 (02:36 -0700)
commit4fd58a9c649b6b95cab74398c4d65e6ca9a8bf56
tree25d9fb1f9cc422885fac30c8f74dafee6ed93b9a
parent9c25ddd32945bef151c407749fc3d51b2a7041af
MLK-19433-3 mxc_ocotp: Disable fuse sense for imx8mq B1

On iMX8MQ Rev B1, reading from fuse box is not allowed. The
OCOTP_READ_FUSE_DATA register is tied to magic number 0xff0055aa
for chip rev. So u-boot has to disable the fuse sense function for it.

Signed-off-by: Ye Li <ye.li@nxp.com>
Tested-by: Anson Huang <Anson.Huang@nxp.com>
(cherry picked from commit da95f60611e8859eba3e7ccb715fdce4d6376774)
(cherry picked from commit 4a8a24ae8b77e394911fd83374ef9c0a89cb9688)
drivers/misc/mxc_ocotp.c