projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c998774
)
MLK-25291-2 misc: ocotp: Update OCOTP driver for iMX8MQ B2
author
Ye Li
<ye.li@nxp.com>
Wed, 3 Feb 2021 18:23:36 +0000
(10:23 -0800)
committer
Ye Li
<ye.li@nxp.com>
Thu, 29 Apr 2021 10:26:23 +0000
(
03:26
-0700)
i.MX8MQ B2 also has fixed value in OCOTP_READ_FUSE_DATA register,
so it does not support "fuse sense" command like B1.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit
357cf646bc3b9fc8d3b4f760e030545e83df2cdf
)
(cherry picked from commit
6ec7af8eedb5ce34979eaaeb2cf2634fe759e697
)
drivers/misc/mxc_ocotp.c
patch
|
blob
|
history
diff --git
a/drivers/misc/mxc_ocotp.c
b/drivers/misc/mxc_ocotp.c
index
926c62c
..
b1893a5
100644
(file)
--- a/
drivers/misc/mxc_ocotp.c
+++ b/
drivers/misc/mxc_ocotp.c
@@
-335,7
+335,7
@@
int fuse_sense(u32 bank, u32 word, u32 *val)
struct ocotp_regs *regs;
int ret;
- if (is_imx8mq() &&
is_soc_rev(
CHIP_REV_2_1)) {
+ if (is_imx8mq() &&
(soc_rev() >=
CHIP_REV_2_1)) {
printf("mxc_ocotp %s(): fuse sense is disabled\n", __func__);
return -EPERM;
}