mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] nvmem: imx-ocotp-ele: fix fuse types on i.MX93
@ 2024-03-13  9:03 Sascha Hauer
  2024-03-13 10:50 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2024-03-13  9:03 UTC (permalink / raw)
  To: Barebox List

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] nvmem: imx-ocotp-ele: fix fuse types on i.MX93
  2024-03-13  9:03 [PATCH] nvmem: imx-ocotp-ele: fix fuse types on i.MX93 Sascha Hauer
@ 2024-03-13 10:50 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-03-13 10:50 UTC (permalink / raw)
  To: Barebox List, Sascha Hauer


On Wed, 13 Mar 2024 10:03:35 +0100, Sascha Hauer wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] nvmem: imx-ocotp-ele: fix fuse types on i.MX93
      https://git.pengutronix.de/cgit/barebox/commit/?id=5d8a6e65b13c (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-13 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-13  9:03 [PATCH] nvmem: imx-ocotp-ele: fix fuse types on i.MX93 Sascha Hauer
2024-03-13 10:50 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox