summaryrefslogtreecommitdiff
path: root/doc/usage/cmd
diff options
context:
space:
mode:
authorHarsha Vardhan V M <[email protected]>2025-03-19 14:17:14 +0530
committerTom Rini <[email protected]>2025-04-04 12:25:02 -0600
commit9f6b1ff8d08a92bbddf3c6226b8c2fdaf8df9515 (patch)
tree0cc4844d0d8a2c185c933d9d5c4343d3737a2c94 /doc/usage/cmd
parented5f2e5bed91b6daa4f051b5e11efbaebfec9cb1 (diff)
doc: cmd: Add fuse writebuff cmd documentation
Add fuse writebuff sub-system command documentation. Signed-off-by: Harsha Vardhan V M <[email protected]>
Diffstat (limited to 'doc/usage/cmd')
-rw-r--r--doc/usage/cmd/fuse.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/usage/cmd/fuse.rst b/doc/usage/cmd/fuse.rst
index 6e330eddfea..42c6e209f99 100644
--- a/doc/usage/cmd/fuse.rst
+++ b/doc/usage/cmd/fuse.rst
@@ -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
-----------