]> git.baikalelectronics.ru Git - uboot.git/commit
misc: fuse: Lock 8ULP ECC-protected fuse when programming
authorYe Li <ye.li@nxp.com>
Tue, 31 Jan 2023 08:42:28 +0000 (16:42 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 29 Mar 2023 18:15:42 +0000 (20:15 +0200)
commit3a8cdab11852c4d28de46b0c0cf1ce8d06a59150
tree6c736ba1f190cba4bc396c439598b953ce3d0756
parent68b4c4ce4fed0ad4338eb5bed05391cc86a61992
misc: fuse: Lock 8ULP ECC-protected fuse when programming

The ECC fuse on 8ULP can't be written twice. If any user did it, the
ECC value would be wrong then cause accessing problem to the fuse.
The patch will lock the ECC fuse word to avoid this problem.
For iMX9, the OTP controller automatically prevents an ECC fuse word to
be written twice. So it does not need the setting.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/misc/sentinel/fuse.c