]> git.dujemihanovic.xyz Git - u-boot.git/commit
log: Add a way to enable/disable a log device
authorSimon Glass <sjg@chromium.org>
Sat, 12 Sep 2020 18:28:49 +0000 (12:28 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 10 Oct 2020 20:50:11 +0000 (16:50 -0400)
commit3d03ab6361a4a2b60e84da46c547b8ace01a60eb
treeb7cab1ed0489fd262afc76cf6ec72606c9dc51c5
parentbd180db2cc73c7dc00076b0517978a8cdd557519
log: Add a way to enable/disable a log device

At present all log devices are enabled by default. Add a function to allow
devices to be disabled or enabled at runtime.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/log.c
include/log.h
test/log/log_test.c
test/py/tests/test_log.py