diff options
author | Simon Glass <sjg@chromium.org> | 2017-12-04 13:48:27 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-12-07 15:17:00 -0500 |
commit | ef11ed8239bf02b347e7fb9fc6d980aec0c7810a (patch) | |
tree | a4416fad19e06ea6d1a10a7324fe395bf8dfd61d /include/log.h | |
parent | d5f61f272d5b7b86bf6321512ba6326c7c075e72 (diff) | |
download | u-boot-ef11ed8239bf02b347e7fb9fc6d980aec0c7810a.tar.gz u-boot-ef11ed8239bf02b347e7fb9fc6d980aec0c7810a.tar.bz2 u-boot-ef11ed8239bf02b347e7fb9fc6d980aec0c7810a.zip |
log: Add a test command
Add a command which exercises the logging system.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/log.h b/include/log.h index 1e9124c3f8..8083b64831 100644 --- a/include/log.h +++ b/include/log.h @@ -256,6 +256,9 @@ struct log_filter { #define LOG_DRIVER(_name) \ ll_entry_declare(struct log_driver, _name, log_driver) +/* Handle the 'log test' command */ +int do_log_test(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]); + /** * log_add_filter() - Add a new filter to a log device * |