12345678910111213141516171819202122232425262728 |
- From 414a98abbefd82d591f4e2d1efd2917bcd3b6f6d Mon Sep 17 00:00:00 2001
- From: Peng Fan <[email protected]>
- Date: Fri, 13 Oct 2023 13:49:02 +0100
- Subject: [PATCH] nvmem: imx: correct nregs for i.MX6SLL
- The nregs for i.MX6SLL should be 80 per fuse map, correct it.
- Fixes: 6da27821a6f5 ("nvmem: imx-ocotp: add support for imx6sll")
- Cc: [email protected]
- Signed-off-by: Peng Fan <[email protected]>
- Signed-off-by: Srinivas Kandagatla <[email protected]>
- Link: https://lore.kernel.org/r/[email protected]
- Signed-off-by: Greg Kroah-Hartman <[email protected]>
- ---
- drivers/nvmem/imx-ocotp.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- --- a/drivers/nvmem/imx-ocotp.c
- +++ b/drivers/nvmem/imx-ocotp.c
- @@ -499,7 +499,7 @@ static const struct ocotp_params imx6sl_
- };
-
- static const struct ocotp_params imx6sll_params = {
- - .nregs = 128,
- + .nregs = 80,
- .bank_address_words = 0,
- .set_timing = imx_ocotp_set_imx6_timing,
- .ctrl = IMX_OCOTP_BM_CTRL_DEFAULT,
|