[v2,1/3] nvmem: imx: correct nregs for i.MX6SLL

Message ID 20231009-nvmem-imx-v2-1-86cb135c20a4@nxp.com
State New
Headers
Series nvmem: imx: correct nregs for i.MX6UL/ULL/SLL |

Commit Message

Peng Fan (OSS) Oct. 9, 2023, 7:57 a.m. UTC
  From: Peng Fan <peng.fan@nxp.com>

The nregs for i.MX6SLL should be 80 per fuse map, correct it.

Fixes: 6da27821a6f5 ("nvmem: imx-ocotp: add support for imx6sll")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 drivers/nvmem/imx-ocotp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c
index 434f197e27bf..c59cfe13a5f8 100644
--- a/drivers/nvmem/imx-ocotp.c
+++ b/drivers/nvmem/imx-ocotp.c
@@ -498,7 +498,7 @@  static const struct ocotp_params imx6sl_params = {
 };
 
 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,