summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-07-18 10:11:23 +0100
committerSimon Glass <sjg@chromium.org>2024-07-29 08:42:18 -0600
commit7ff80ece2159c1e73f11e1e1b9484e00d1dfeb76 (patch)
tree0e7a3a8025cb382a8a53045eae635376b8c9c847 /doc
parent9366640449ac3ef702b624e2f6f7604754a9082b (diff)
downloadu-boot-7ff80ece2159c1e73f11e1e1b9484e00d1dfeb76.tar.gz
u-boot-7ff80ece2159c1e73f11e1e1b9484e00d1dfeb76.tar.bz2
u-boot-7ff80ece2159c1e73f11e1e1b9484e00d1dfeb76.zip
qconfig: Allow searching for CONFIG values
Add basic support for searching for matching of non-matching values. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/20
Diffstat (limited to 'doc')
-rw-r--r--doc/develop/qconfig.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/develop/qconfig.rst b/doc/develop/qconfig.rst
index 8efb1eb268..123779eab1 100644
--- a/doc/develop/qconfig.rst
+++ b/doc/develop/qconfig.rst
@@ -85,6 +85,20 @@ example, to find boards which enabled CONFIG_SCSI but not CONFIG_BLK::
3 matches
pg_wcom_seli8_defconfig highbank_defconfig pg_wcom_expu1_defconfig
+It is also possible to search for particular values. For example, this finds all
+boards with an empty string for `CONFIG_DEFAULT_FDT_FILE`::
+
+ ./tools/qconfig.py -f DEFAULT_FDT_FILE=\"\"
+ 1092 matches
+ ...
+
+This finds boards which have a value for SYS_MAXARGS other than 64::
+
+ ./tools/qconfig.py -f ~SYS_MAXARGS=64
+ cfg CONFIG_SYS_MAXARGS
+ 281 matches
+ ...
+
Finding implied CONFIGs
-----------------------