]> git.dujemihanovic.xyz Git - u-boot.git/commit
console: Introduce console_start() and console_stop()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 21 Dec 2020 12:30:00 +0000 (14:30 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 15 Jan 2021 19:36:12 +0000 (14:36 -0500)
commit41f668b97c7ac8d519f15961b67fc52817115701
treeec6896b66a95dd99a15810beeb404e69704b616d
parenta17b38ce3902e46777322f6ec26e51b25415fa5b
console: Introduce console_start() and console_stop()

In the future we would like to stop unused consoles and
also add a reference counting to avoid imbalanced calls
to ->start() and ->stop() in some cases.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/console.c
include/console.h