]> git.dujemihanovic.xyz Git - u-boot.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)
commit8b763dfdeebc2eb9c23e00a26aa3872b90958ba3
treec052b8253be2d53d45d7ea767d7cfaf858eca8f5
parent493a4c8af7a4939d96d6e2601282ca4a07c7570e
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