bdinfo is missing a long help text for the additional -a, -e and -m
options so let's add them.

While at it, update the sphinx docs to add missing requirement for the
devicetree field to appear in the output.

Finally, update the sphinx docs to provide an example of bdinfo -a, -e
and -m as well as make their Kconfig dependencies explicit.

This depends on v2 (but will apply without!!!!):
- 
https://lore.kernel.org/u-boot/[email protected]/

Do not apply if another version than v2 for the dependency is merged as
the symbols may have changed and then the docs are wrong.

Signed-off-by: Quentin Schulz <[email protected]>
---
Changes in v2:
- fixed bdinfo cmd unit tests,
- changed series dependency on v2 of the dependency,
- Link to v1: 
https://patch.msgid.link/[email protected]

---
Quentin Schulz (3):
      cmd: bdinfo: provide long help with all options
      doc: cmd: bdinfo: specify required dependency for some info
      doc: cmd: bdinfo: document options

 cmd/bdinfo.c             | 16 ++++++++++++-
 doc/usage/cmd/bdinfo.rst | 60 +++++++++++++++++++++++++++++++++++++++++++++++-
 test/cmd/bdinfo.c        | 11 +++++++++
 3 files changed, 85 insertions(+), 2 deletions(-)
---
base-commit: 6e483607bdfdd85c3cd5281be700fd5b28bd4ec6
change-id: 20251217-b4-bdinfo-doc-80717eac2d72

Best regards,
-- 
Quentin Schulz <[email protected]>

Reply via email to