]> git.dujemihanovic.xyz Git - u-boot.git/commit
console: Print out complete stdio device list
authorBin Meng <bmeng@tinylab.org>
Sun, 23 Jul 2023 04:40:37 +0000 (12:40 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 2 Aug 2023 08:32:31 +0000 (16:32 +0800)
commit6b343ab38d9665e5062134549323f998c60c35d6
tree895bb990a5dc4afd439aaed1d10616e61c221c14
parentf30fd55e82ae82b720649cc67744308a8356a874
console: Print out complete stdio device list

At present if both CONSOLE_MUX and SYS_CONSOLE_IS_IN_ENV are on,
during boot, the printed out stdio devices are incomplete, e.g.:
with "stdout=serial,vidconsole", only "vidconsole" is printed.

For such case, we can print out the stdio device name from the
environment variables.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/console.c