[PATCH 2/3] doc: cmd: bdinfo: specify required dependency for some info

Quentin Schulz foss+uboot at 0leil.net
Wed Dec 17 17:23:57 CET 2025


From: Quentin Schulz <quentin.schulz at cherry.de>

The devicetree, current eth and IP addr info are only available when
certain symbols are defined, so let's make the dependencies explicit.

Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
 doc/usage/cmd/bdinfo.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/usage/cmd/bdinfo.rst b/doc/usage/cmd/bdinfo.rst
index a139c9d855c..2a5873a400a 100644
--- a/doc/usage/cmd/bdinfo.rst
+++ b/doc/usage/cmd/bdinfo.rst
@@ -77,9 +77,13 @@ Build
 current eth
     name of the active network device
 
+    Only shown if CONFIG_NET=y or CONFIG_NET_LWIP=y.
+
 IP addr
     network address, value of the environment variable *ipaddr*
 
+    Only shown if CONFIG_NET=y or CONFIG_NET_LWIP=y.
+
 fdt_blob
     address of U-Boot's own device tree, NULL if none
 
@@ -95,6 +99,8 @@ lmb_dump_all
 devicetree
     source of the device-tree
 
+    Only shown if CONFIG_LMB=y and CONFIG_OF_REAL=y.
+
 arch_number
     unique id for the board
 

-- 
2.52.0



More information about the U-Boot mailing list