aboutsummaryrefslogtreecommitdiff
path: root/include/video.h
diff options
context:
space:
mode:
authorSimon Glass2021-11-19 13:24:03 -0700
committerAnatolij Gustschin2021-12-26 23:32:46 +0100
commit84e63abfff67b82253add1c05cfdd9700fada021 (patch)
treed01c1d08af4a6ccc48626c88f55d04e8d36d2393 /include/video.h
parent2c8ee30b9708f8d43b7d971568614d7a192ccf31 (diff)
video: Support showing the U-Boot logo
Show the U-Boot logo by default. This is only 7KB in size so seems like a useful default for boards that enable a display. If SPLASH_SCREEN is enabled, it is not enabled by default, so as not to conflict with that feature. Also disable it for tests, since we don't want to complicate the output. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/video.h')
-rw-r--r--include/video.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video.h b/include/video.h
index 471b659d6bd..1d75a90510c 100644
--- a/include/video.h
+++ b/include/video.h
@@ -30,12 +30,14 @@ struct udevice;
* @base: Base address of frame buffer, 0 if not yet known
* @copy_base: Base address of a hardware copy of the frame buffer. See
* CONFIG_VIDEO_COPY.
+ * @hide_logo: Hide the logo (used for testing)
*/
struct video_uc_plat {
uint align;
uint size;
ulong base;
ulong copy_base;
+ bool hide_logo;
};
enum video_polarity {