diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-01-09 13:40:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-10 15:52:12 +0300 |
commit | 8c4d35aff54042aa80efaabdb7b754b3d74a71d5 (patch) | |
tree | 67c610f821c391f298762e090888a9145f28c02f /lib/crc-itu-t.c | |
parent | 40bb95dbb8acca35f8d52a833393ddbb01cfa2db (diff) | |
download | linux-8c4d35aff54042aa80efaabdb7b754b3d74a71d5.tar.xz |
nvmem: imx: scu: correct the fuse word index
i.MX8 fuse word row index represented as one 4-bytes word.
Exp:
- MAC0 address layout in fuse:
offset 708: MAC[3] MAC[2] MAC[1] MAC[0]
offset 709: XX xx MAC[5] MAC[4]
The original code takes row index * 4 as the offset, this
not exactly match i.MX8 fuse map documentation.
So update code the reflect the truth.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200109104017.6249-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/crc-itu-t.c')
0 files changed, 0 insertions, 0 deletions