[PATCH v2 0/5] ufs: Exted cmd line
Raz Ben Yehuda via B4 Relay
devnull+raz.benyehuda.mobileye.com at kernel.org
Sun Jun 7 17:45:30 CEST 2026
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"
Signed-off-by: Raz Ben Yehuda <raz.benyehuda at mobileye.com>
---
Raz Ben Yehuda (5):
ufs: Expose selected UFS functions
ufs: Add flags according
ufs: extending ufs cmd line
ufs: document the UFS command
MAINTAINERS: Add myself to the list of UFS maintainers
MAINTAINERS | 3 +
cmd/Makefile | 1 +
cmd/ufs.c | 1309 +++++++++++++++++++++++++++++++++++++++++++++-
doc/usage/cmd/ufs.rst | 226 ++++++++
drivers/ufs/ufs-uclass.c | 18 +-
drivers/ufs/ufs.h | 16 +
include/ufs.h | 374 ++++++++++++-
7 files changed, 1929 insertions(+), 18 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