From ef11ed8239bf02b347e7fb9fc6d980aec0c7810a Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 4 Dec 2017 13:48:27 -0700 Subject: log: Add a test command Add a command which exercises the logging system. Signed-off-by: Simon Glass --- include/log.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 * -- cgit