Re: [PATCH] nvmem: imx: scu: correct the fuse word index

From: Srinivas Kandagatla
Date: Thu Dec 19 2019 - 05:52:39 EST




On 04/12/2019 05:52, Peng Fan wrote:
From: Peng Fan <peng.fan@xxxxxxx>

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@xxxxxxx>
---
drivers/nvmem/imx-ocotp-scu.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

Applied Thanks,
srini