diff options
author | Ye Li <ye.li@nxp.com> | 2017-01-18 15:19:55 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 17:24:32 +0800 |
commit | aef40dc916c57b06efe9c5e900e6be81a33af59a (patch) | |
tree | 4ba0fcae5834e5b7a1fb198b3ab512b0880aeecd /arch/arm/mach-uniphier/mmc-boot-mode.c | |
parent | 589812f232a7a07873a74e5506153977ce11dce2 (diff) | |
download | u-boot-imx-aef40dc916c57b06efe9c5e900e6be81a33af59a.zip u-boot-imx-aef40dc916c57b06efe9c5e900e6be81a33af59a.tar.gz u-boot-imx-aef40dc916c57b06efe9c5e900e6be81a33af59a.tar.bz2 |
MLK-13776 ocotp: Add fuse word checking before programming it on i.MX7ULP
On i.MX7ULP, the fuse words (except bank 0 and 1) only supports to write once,
because they use ECC mode. Multiple writes may damage the ECC value and cause a
wrong fuse value decoded when reading.
This patch adds a checking before the fuse word programming, only can write
when the word value is 0.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit e8447d649a631ec98120d84fab124ca29fbe39f0)
Diffstat (limited to 'arch/arm/mach-uniphier/mmc-boot-mode.c')
0 files changed, 0 insertions, 0 deletions