doc: cmd: Add fuse writebuff cmd documentation

Add fuse writebuff sub-system command documentation.

Signed-off-by: Harsha Vardhan V M <h-vm@ti.com>
This commit is contained in:
Harsha Vardhan V M
2025-04-04 12:25:02 -06:00
committed by Tom Rini
parent ed5f2e5bed
commit 9f6b1ff8d0
+20
View File
@@ -17,6 +17,7 @@ Synopsis
fuse sense <bank> <word> [<cnt>]
fuse prog [-y] <bank> <word> <hexval> [<hexval>...]
fuse override <bank> <word> <hexval> [<hexval>...]
fuse writebuff [-y] <addr>
Description
-----------
@@ -79,6 +80,16 @@ Commands
fuses have already been programmed or are locked (if the SoC allows to
override a locked fuse).
- **fuse writebuff [-y] <addr>**
Programs fuse data using a structured buffer in memory starting at 'addr'.
This operation directly affects the fusebox and is irreversible.
The structure of the buffer should contain all necessary details for
programming fuses, such as the values to be written to the fuse, optional
metadata for validation or programming constraints and any configuration
data required for the operation. Define CONFIG_CMD_FUSE_WRITEBUFF to
enable the fuse writebuff command.
Examples
--------
@@ -144,10 +155,19 @@ fuse override
u-boot=> fuse override 0 1 0x00000003
Overriding bank 0 word 0x00000001 with 0x00000003...
fuse writebuff
~~~~~~~~~~~~~~
::
u-boot=> fuse writebuff -y 0x84000000
Programming fuses with buffer at addr 0x84000000
Configuration
-------------
The fuse commands are available if CONFIG_CMD_FUSE=y.
The fuse writebuff command is available if CONFIG_CMD_FUSE_WRITEBUFF=y.
Return code
-----------