]> git.baikalelectronics.ru Git - uboot.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)
commit04d56b3b70b846f4801de7119e824f2e161a89ff
treeec6896b66a95dd99a15810beeb404e69704b616d
parent51b6a12a8bd22fcc6103423a1fc5ce614a21cfc6
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