29 lines
1019 B
Diff
29 lines
1019 B
Diff
From 7d6e10f5d254681983b53d979422c8de3fadbefb Mon Sep 17 00:00:00 2001
|
|
From: Peng Fan <peng.fan@nxp.com>
|
|
Date: Fri, 13 Oct 2023 13:49:03 +0100
|
|
Subject: [PATCH] nvmem: imx: correct nregs for i.MX6UL
|
|
|
|
The nregs for i.MX6UL should be 144 per fuse map, correct it.
|
|
|
|
Fixes: 4aa2b4802046 ("nvmem: octop: Add support for imx6ul")
|
|
Cc: Stable@vger.kernel.org
|
|
Signed-off-by: Peng Fan <peng.fan@nxp.com>
|
|
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
|
Link: https://lore.kernel.org/r/20231013124904.175782-3-srinivas.kandagatla@linaro.org
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
---
|
|
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
|
|
@@ -513,7 +513,7 @@ static const struct ocotp_params imx6sx_
|
|
};
|
|
|
|
static const struct ocotp_params imx6ul_params = {
|
|
- .nregs = 128,
|
|
+ .nregs = 144,
|
|
.bank_address_words = 0,
|
|
.set_timing = imx_ocotp_set_imx6_timing,
|
|
.ctrl = IMX_OCOTP_BM_CTRL_DEFAULT,
|