From: Fabian Pflug <f.pflug@pengutronix.de>
To: Marco Felsch <m.felsch@pengutronix.de>,
BAREBOX <barebox@lists.infradead.org>,
Lucas Stach <l.stach@pengutronix.de>,
Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: Fabian Pflug <f.pflug@pengutronix.de>
Subject: [PATCH v3 0/5] i.mx: hab/ocotop: extend field return to i.MX6
Date: Fri, 19 Dec 2025 11:48:58 +0100 [thread overview]
Message-ID: <20251219-v2025-11-0-topic-imx6-field-return-v3-0-690fdeb78978@pengutronix.de> (raw)
Field return handling was only implemented for the i.MX8* processors.
Extend this with support for i.MX6 and extend the hab command with an
option to burn the field return fuse in case the field return sticky bit
might be unlocked.
Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
---
Changes in v3:
- Fix nitpick by Marco
- Added reviewed-by
- Fix broken mainline version of UID in CST. (Tested on i.MX6Q)
- Change wording for hab command help.
- Link to v2: https://lore.barebox.org/barebox/20251219-v2025-11-0-topic-imx6-field-return-v2-0-2696ac61ae2d@pengutronix.de
Changes in v2:
- Added reviewed-by
- Added imx6_hab_field_return_ocotp and reintroduced the
imx8m_hab_field_return_ocotp, but also add a new helperfunction for
both to call.
- Implemented Marcos changes for commands/hab.c, but changed
indentation.
- Link to v1: https://lore.kernel.org/r/20251218-v2025-11-0-topic-imx6-field-return-v1-0-3781143198d6@pengutronix.de
---
Fabian Pflug (5):
arm: mach-imx6: use kconfig for field return
nvmem: ocotp: extend support to query the sticky bit
i.MX: HAB: extend field_return support to imx6
commands: hab: extend by field_return fuse burn
i.MX: HAB: fix field return unlock fuse uid
arch/arm/mach-imx/Kconfig | 35 +++++++++++++++------------
commands/hab.c | 24 +++++++++++++++---
drivers/hab/hab.c | 34 ++++++++++++++++----------
drivers/nvmem/ocotp.c | 12 ++++++---
include/mach/imx/habv4-imx6-gencsf-template.h | 11 +++------
include/mach/imx/habv4-imx8-gencsf.h | 2 +-
include/mach/imx/ocotp-fusemap.h | 1 +
scripts/Makefile.lib | 2 +-
8 files changed, 74 insertions(+), 47 deletions(-)
---
base-commit: d6f0974673c0e3da00f8d0789d6302a43f3e478d
change-id: 20251218-v2025-11-0-topic-imx6-field-return-d3b4f2e55afb
Best regards,
--
Fabian Pflug <f.pflug@pengutronix.de>
next reply other threads:[~2025-12-19 10:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-19 10:48 Fabian Pflug [this message]
2025-12-19 10:48 ` [PATCH v3 1/5] arm: mach-imx6: use kconfig for field return Fabian Pflug
2025-12-19 10:49 ` [PATCH v3 2/5] nvmem: ocotp: extend support to query the sticky bit Fabian Pflug
2025-12-19 10:49 ` [PATCH v3 3/5] i.MX: HAB: extend field_return support to imx6 Fabian Pflug
2025-12-19 10:49 ` [PATCH v3 4/5] commands: hab: extend by field_return fuse burn Fabian Pflug
2025-12-19 10:49 ` [PATCH v3 5/5] i.MX: HAB: fix field return unlock fuse uid Fabian Pflug
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=20251219-v2025-11-0-topic-imx6-field-return-v3-0-690fdeb78978@pengutronix.de \
--to=f.pflug@pengutronix.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=l.stach@pengutronix.de \
--cc=m.felsch@pengutronix.de \
/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