summaryrefslogtreecommitdiffstats
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2020-10-27 19:55:38 -0400
committerTom Rini <trini@konsulko.com>2020-10-30 10:56:11 -0400
commit3e40976aba6fa8ef798f11b45448be2504bd9b89 (patch)
tree7f116b9fa890d31c19a7cc7d9f9a90336e45d3fe /cmd/Kconfig
parentfbc33df13cd44f4fac63faf1250bd5849d447997 (diff)
downloadu-boot-3e40976aba6fa8ef798f11b45448be2504bd9b89.tar.gz
u-boot-3e40976aba6fa8ef798f11b45448be2504bd9b89.tar.xz
u-boot-3e40976aba6fa8ef798f11b45448be2504bd9b89.zip
cmd: log: Add commands to manipulate filters
This adds several commands to add, list, and remove log filters. Due to the complexity of adding a filter, `log filter-list` uses options instead of positional arguments. These commands have been added as subcommands to log by using a dash to join the subcommand and subsubcommand. This is stylistic, and they could be converted to proper subsubcommands if it is wished. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 9f36290796..1595de999b 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2239,6 +2239,7 @@ config CMD_KGDB
config CMD_LOG
bool "log - Generation, control and access to logging"
select LOG
+ select GETOPT
help
This provides access to logging features. It allows the output of
log data to be controlled to a limited extent (setting up the default