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. Signed-off-by: Raz Ben Yehuda <[email protected]> --- 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, -- Raz Ben Yehuda <[email protected]>

