[Concept,07/12] doc: Update bootflow docs for encryption

Message ID 20260324221911.3678307-8-sjg@u-boot.org
State New
Headers
Series bootstd: Support multiple bootflows per partition |

Commit Message

Simon Glass March 24, 2026, 10:19 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

The 'bootflow info' command now shows encryption, if enabled, so update
the docs to show this.

Fixes: 0a2b56c8ce1c ("boot: Show an indication for encrypted bootflows")
Signed-off-by: Simon Glass <sjg@chromium.org>
---

 doc/usage/cmd/bootflow.rst | 7 +++++++
 1 file changed, 7 insertions(+)
  

Patch

diff --git a/doc/usage/cmd/bootflow.rst b/doc/usage/cmd/bootflow.rst
index cccb10c5dff..4507303fb3a 100644
--- a/doc/usage/cmd/bootflow.rst
+++ b/doc/usage/cmd/bootflow.rst
@@ -167,6 +167,7 @@  Type       distro
 Method:    extlinux
 State      ready
 Partition  2
+Encrypted  no
 Subdir     (none)
 Filename   /extlinux/extlinux.conf
 Buffer     3db7ad48
@@ -184,6 +185,11 @@  Device
 Block dev
     Name of the block device, if any. Network devices don't have a block device.
 
+Encrypted
+    Encryption status. Shows ``LUKSv1`` or ``LUKSv2`` if a LUKS-encrypted
+    partition was detected on the same device, or ``no`` otherwise. Only
+    shown when ``CONFIG_BLK_LUKS`` is enabled.
+
 Subdir
     Subdirectory used for retrieving files. For network bootdevs this is the
     directory of the 'bootfile' parameter passed from DHCP. All file retrievals
@@ -338,6 +344,7 @@  displayed and booted::
     Method:    distro
     State:     ready
     Partition: 2
+    Encrypted: no
     Subdir:    (none)
     Filename:  extlinux/extlinux.conf
     Buffer:    3db7ae88