mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] nvmem: imx-ocotp-ele: fix fuse types on i.MX93
Date: Wed, 13 Mar 2024 10:03:35 +0100	[thread overview]
Message-ID: <20240313090335.975366-1-s.hauer@pengutronix.de> (raw)

Sync the imx93_entries[] with the current kernel as of Linux-6.8. The
first 52 fuse words can be read from shadow registers. I don't know
anymore where I copied the wrong values from, the Kernel had correct
values from the start.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/nvmem/imx-ocotp-ele.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/nvmem/imx-ocotp-ele.c b/drivers/nvmem/imx-ocotp-ele.c
index b25ab32fea..e4e60ed6af 100644
--- a/drivers/nvmem/imx-ocotp-ele.c
+++ b/drivers/nvmem/imx-ocotp-ele.c
@@ -208,8 +208,7 @@ static int imx_ele_ocotp_probe(struct device *dev)
 }
 
 static struct ocotp_map_entry imx93_entries[] = {
-	{ 12, 40, FUSE_FSB },
-	{ 24, 11, FUSE_ELE },
+	{ 0, 52, FUSE_FSB },
 	{ 63, 1, FUSE_ELE},
 	{ 128, 16, FUSE_ELE },
 	{ 182, 1, FUSE_ELE },
-- 
2.39.2




             reply	other threads:[~2024-03-13  9:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-13  9:03 Sascha Hauer [this message]
2024-03-13 10:50 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240313090335.975366-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox