814-v6.6-0018-nvmem-imx-correct-nregs-for-i.MX6SLL.patch 1.0 KB

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