firmware-utils: bump to git HEAD
[openwrt/staging/stintel.git] / target / linux / generic / backport-6.1 / 814-v6.6-0018-nvmem-imx-correct-nregs-for-i.MX6SLL.patch
1 From 414a98abbefd82d591f4e2d1efd2917bcd3b6f6d Mon Sep 17 00:00:00 2001
2 From: Peng Fan <peng.fan@nxp.com>
3 Date: Fri, 13 Oct 2023 13:49:02 +0100
4 Subject: [PATCH] nvmem: imx: correct nregs for i.MX6SLL
5
6 The nregs for i.MX6SLL should be 80 per fuse map, correct it.
7
8 Fixes: 6da27821a6f5 ("nvmem: imx-ocotp: add support for imx6sll")
9 Cc: Stable@vger.kernel.org
10 Signed-off-by: Peng Fan <peng.fan@nxp.com>
11 Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
12 Link: https://lore.kernel.org/r/20231013124904.175782-2-srinivas.kandagatla@linaro.org
13 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14 ---
15 drivers/nvmem/imx-ocotp.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 --- a/drivers/nvmem/imx-ocotp.c
19 +++ b/drivers/nvmem/imx-ocotp.c
20 @@ -499,7 +499,7 @@ static const struct ocotp_params imx6sl_
21 };
22
23 static const struct ocotp_params imx6sll_params = {
24 - .nregs = 128,
25 + .nregs = 80,
26 .bank_address_words = 0,
27 .set_timing = imx_ocotp_set_imx6_timing,
28 .ctrl = IMX_OCOTP_BM_CTRL_DEFAULT,