]> git.baikalelectronics.ru Git - uboot.git/commit
video: Show an error when a vidconsole function fails
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2020 03:12:14 +0000 (21:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 9 Jul 2020 04:33:24 +0000 (12:33 +0800)
commit2a3b32a33d471d2fe9aec012cacf41a69efeb754
treec052b8253be2d53d45d7ea767d7cfaf858eca8f5
parent455e0706fdfe09764ae62d48965f2871afc04f70
video: Show an error when a vidconsole function fails

At present these functions fail silently even when debugging, which is not
very helpful. Add a way to print a message to the serial output when an
error is detected.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/video/vidconsole-uclass.c