Skip to content

RFC cmd: fuse: Introduce fuse writebuff sub-system and clean up

Harsha Vardhan V M u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 RFC Latest5 patches 3 repliesIn review
  2. v2 RFC5 patches 2 repliesSuperseded
  3. v1 RFC4 patches 10 repliesSuperseded

Changes in v3 from the cover letter

1.Remove doc/README.fuse and add cmd/fuse index in doc/usage/index.rst
in patch #2.
2.Converted strrtou32 to simple_strtoul

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5cmd: fuse: Remove custom string functionscmd/fuse.c+18 -213 replies
2/5doc: cmd: Add documentation for fuse commanddoc/README.fuse doc/usage/cmd/fuse.rst doc/usage/index.rst+157 -670 replies
3/5cmd: fuse: Add fuse writebuff sub-system commandcmd/Kconfig cmd/fuse.c include/fuse.h+42 -50 replies
4/5drivers: k3_fuse: Add fuse sub-system func callsdrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/k3_fuse.c+86 -00 replies
5/5doc: cmd: Add fuse writebuff cmd documentationdoc/usage/cmd/fuse.rst+20 -00 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchTom Rini
1/5
2/5
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [RFC PATCH v3 0/5] cmd: fuse: Introduce fuse writebuff sub-system and clean up

This patch series introduces the fuse writebuff sub-system command and makes improvements to the existing fuse implementation by removing the custom string functions. The patches are required to be applied in sequence.

The series consists of the following changes:
Patch 1 removes custom string functions and replaces them with standard string functions.
Patch 2 introduces fuse.rst documentation for fuse commands. Patch 3 introduces the fuse writebuff sub-system command, allowing to write a structured buffer in memory to fuses, and implementing the necessary function calls.
Patch 4 enables the fuse sub-system in the K3 platform. Patch 5 updates the fuse.rst documentation to include details about the new fuse writebuff command.

These changes aim to improve the fuse sub-system by the removal of custom string functions and the addition of the fuse writebuff command improves fuse programming workflows by allowing to write a structured buffer in memory to efuses.

Changes in v2:
1.Convert doc/README.fuse to doc/usage/cmd/fuse.rst as patch #2, as requested by [email protected].
2.Add fuse writebuff documentation in fuse.rst in the final patch.

Changes in v3:
1.Remove doc/README.fuse and add cmd/fuse index in doc/usage/index.rst
in patch #2.
2.Converted strrtou32 to simple_strtoul

Harsha Vardhan V M (5):
cmd: fuse: Remove custom string functions
doc: cmd: Add documentation for fuse command
cmd: fuse: Add fuse writebuff sub-system command
drivers: k3_fuse: Add fuse sub-system func calls
doc: cmd: Add fuse writebuff cmd documentation

 cmd/Kconfig            |   8 ++
 cmd/fuse.c             |  63 +++++++++------
 doc/README.fuse        |  67 ----------------
 doc/usage/cmd/fuse.rst | 176 +++++++++++++++++++++++++++++++++++++++++
 doc/usage/index.rst    |   1 +
 drivers/misc/Kconfig   |   7 ++
 drivers/misc/Makefile  |   1 +
 drivers/misc/k3_fuse.c |  78 ++++++++++++++++++
 include/fuse.h         |   9 +++
 9 files changed, 320 insertions(+), 90 deletions(-)
 delete mode 100644 doc/README.fuse
 create mode 100644 doc/usage/cmd/fuse.rst
 create mode 100644 drivers/misc/k3_fuse.c
Signature · 1 line
2.34.1