mxc_ocotp: Disable fuse sense for imx8mq B1
authorYe Li <ye.li@nxp.com>
Wed, 17 Apr 2019 09:41:23 +0000 (09:41 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 25 Apr 2019 17:16:24 +0000 (19:16 +0200)
commitb3cf86c86bf00d7d3ee9bc7ecb0819105b641c89
tree0d92e4789d72763d559fbb0223989f721ae76de5
parent112ad600587655d17a95ecf1d9a10358528106ac
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>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/misc/mxc_ocotp.c