[PATCH v4 0/4] (no cover subject)

Raz Ben Yehuda via B4 Relay devnull+raz.benyehuda.mobileye.com at kernel.org
Thu Jun 11 09:49:34 CEST 2026


Changes in v4:
Apply Tim's remarks.
- move exported functions from drivers/ufs/ufs.h to include/ufs.h
- document the above exported functions in kernel-doc style.
- Fix commit title: "extend the current command line..."
- rework rst file, verified the html version.
- Run pull request in CI. 

- Link to v3: https://patch.msgid.link/20260608-ufs_tool2-v3-0-a9f181e86229@mobileye.com

Changes in v3:
- remove set_dev_desc command. DeviceDescriptor is not writable 
- Beautify the rst document
- Link to v2: https://patch.msgid.link/20260607-ufs_tool2-v2-0-f79ff26ab18c@mobileye.com

ufs: Exted cmd line

The UFS command provides utilities for querying, displaying, and modifying
UFS device configuration and descriptor information. It is commonly used to
configure UFS logical units (LUNs) in U-Boot, allowing storage devices to be
provisioned and reconfigured as needed.

Features:

* Display Device, Geometry, Unit, Configuration, and Power Descriptors
* Display LUN configuration and calculated capacities
* Modify fields in Device, Configuration, and Unit Descriptors
* Query common UFS runtime flags
* Commit configuration changes or clear all LUN configurations
* Decode and format descriptor contents for easier debugging
* Provision and configure UFS logical units

Changes in v2:

* Add HBA ID support
* Move ufs_tool.c to cmd/ufs.c
* Add myself as reviewer
* Rename patch subject to  "ufs: document the UFS command"

To: u-boot at lists.denx.de
Cc:      Neil Armstrong <neil.armstrong at linaro.org>
Cc:      Bhupesh Sharma <bhupesh.linux at gmail.com>
Cc:      Neha Malcom Francis <n-francis at ti.com>
Cc:      Tawfik Bayouk  <tawfik.bayouk at mobileye.com>
Cc:      Vladimir Kondratiev  <vladimir.Kondratiev at mobileye.com>

Signed-off-by: Raz Ben Yehuda <raz.benyehuda at mobileye.com>
---
Raz Ben Yehuda (4):
      MAINTAINERS: Add myself to the list of UFS maintainers
      ufs: Expose selected UFS functions
      ufs: extend the current command-line interface
      ufs: document the UFS command

 MAINTAINERS              |    3 +
 cmd/ufs.c                | 1264 +++++++++++++++++++++++++++++++++++++++++++++-
 doc/usage/cmd/ufs.rst    |  462 +++++++++++++++++
 drivers/ufs/ufs-uclass.c |   18 +-
 drivers/ufs/ufs.h        |   52 --
 include/ufs.h            |  603 +++++++++++++++++++++-
 6 files changed, 2332 insertions(+), 70 deletions(-)
---
base-commit: 0c035ff60c1e8caee7fccd2673ce75380dee825b
change-id: 20260607-ufs_tool2-11c3493690c4

Best regards,
--  
Raz Ben Yehuda <raz.benyehuda at mobileye.com>




More information about the U-Boot mailing list