[PATCH v4 3/4] ufs: extend the current command-line interface

Tom Rini trini at konsulko.com
Fri Jun 12 18:35:12 CEST 2026


On Thu, Jun 11, 2026 at 10:49:37AM +0300, Raz Ben Yehuda wrote:

>     Extend the ufs command line. Provide techniques for querying,
>     displaying, and modifying UFS device configuration and
>     descriptor information.
> 
>     Features:
>     - Query and display Device, Geometry, Unit, Configuration, and Power
>       Descriptors
>     - Display LUN configuration and calculated capacities
>     - Modify LUN, Configuration, and Device Descriptor fields
>     - Query common UFS runtime flags
>     - Commit configuration changes or clear all LUN configurations
>     - Decode and format descriptor contents for easier debugging
>     - Clear all luns
> 
> Signed-off-by: Raz Ben Yehuda <raz.benyehuda at mobileye.com>
> ---
>  cmd/ufs.c | 1264 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 1257 insertions(+), 7 deletions(-)

It looks like my previous feedback still applies about integrating this
properly and so that it reads like other cmd files, among other things.
Also, make sure to mark functions as static when required. 

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260612/818be6cd/attachment.sig>


More information about the U-Boot mailing list