Skip to content

UFS-TOOL

Raz Ben Yehuda b4-sent u-boot 1 version In review

Get series with b4
b4 am [email protected] change-id 20260604-ufs_tool-3bd50111593f

Versions newest first

  1. v1 Latest6 patches 6 repliesIn review

Changes in v2 from the cover letter

- Replace printf() with log_err().
- Clean up code style and adopt reverse Christmas tree ordering.
- Add HBA ID support with a default value of 0, overridable by the user.
- Add documentation in .rst format.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6MAINTAINERS: Add myself to the list of UFS maintainersMAINTAINERS+5 -01 reply
2/6ufs: add UFS descriptor/configuration utility supportdrivers/ufs/ufs_tool.c drivers/ufs/ufs_tool.h+1625 -00 replies
3/6ufs: Expose selected UFS functionsdrivers/ufs/ufs-uclass.c drivers/ufs/ufs.h+25 -91 reply
4/6ufs: ufs toolcmd/ufs.c+89 -41 reply
5/6ufs: add ufs_tool to Kconfig and Makefiledrivers/ufs/Kconfig drivers/ufs/Makefile+16 -01 reply
6/6ufs: doc/usage/cmd/ufs.rstdoc/usage/cmd/ufs.rst+217 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHSET PATCH 0/6] UFS-TOOL

This is version 2 of the ufs-tool patchset.

Patch [1/5]: UFS tool implementation for querying, printing and configuring UFS descriptors. Patch [2/5]: Remove the static qualifier from selected functions to allow access. Patch [3/5]: The cmdline UFS tool.
Patch [4/5]: Add support for the UFS tool to Kconfig and the Makefile.
Patch [5/5]: Documention of the ufs tool.

Testing:
- Built for x86_64 and RISC-V.
- Tested on RISC-V hardware.
- No regressions observed.

Changes in v2:
- Replace printf() with log_err().
- Clean up code style and adopt reverse Christmas tree ordering.
- Add HBA ID support with a default value of 0, overridable by the user.
- Add documentation in .rst format.

---
Raz Ben Yehuda (6):
MAINTAINERS: Add myself to the list of UFS maintainers
ufs: add UFS descriptor/configuration utility support
ufs: Expose selected UFS functions
ufs: ufs tool
ufs: add ufs_tool to Kconfig and Makefile
ufs: doc/usage/cmd/ufs.rst

 MAINTAINERS              |    5 +
 cmd/ufs.c                |   93 +++-
 doc/usage/cmd/ufs.rst    |  217 ++++++++
 drivers/ufs/Kconfig      |   15 +
 drivers/ufs/Makefile     |    1 +
 drivers/ufs/ufs-uclass.c |   18 +-
 drivers/ufs/ufs.h        |   16 +
 drivers/ufs/ufs_tool.c   | 1231 ++++++++++++++++++++++++++++++++++++++++++++++
 drivers/ufs/ufs_tool.h   |  394 +++++++++++++++
 9 files changed, 1977 insertions(+), 13 deletions(-)

---
base-commit: 0c035ff60c1e8caee7fccd2673ce75380dee825b
change-id: 20260604-ufs_tool-3bd50111593f

Best regards,

Signature · 1 line
Raz Ben Yehuda <[email protected]>