]> git.baikalelectronics.ru Git - uboot.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)
commitccb78c19067c0142ee34cc66cc2d76d2e7bb9f9f
treeb7cab1ed0489fd262afc76cf6ec72606c9dc51c5
parentb0d84637da93a542e6f593ab3d0ab461201f9d86
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