video: Allow console output to be silenced
authorSimon Glass <sjg@chromium.org>
Tue, 1 Apr 2025 17:29:42 +0000 (06:29 +1300)
committerTom Rini <trini@konsulko.com>
Fri, 2 May 2025 19:40:25 +0000 (13:40 -0600)
commitcb32266d4aeca4a730c1f8b85c981a8793d768c4
tree4b39ca010379be73965bfc1e0d0f77ad6c0af503
parent7320a2cb9439c8bab3b8612ec37406cad5bb646c
video: Allow console output to be silenced

When using expo we want to be able to control the information on the
display and avoid other messages (such as USB scanning) appearing.

Add a 'quiet' flag for the console, to help with this.

The test is a little messy since stdio is still using the original
vidconsole create on start-up. So take care to use the same.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/vidconsole-uclass.c
include/video_console.h
test/dm/video.c