summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-11-19 13:24:05 -0700
committerAnatolij Gustschin <agust@denx.de>2021-12-26 23:33:24 +0100
commitd8bf49fa20bf1bf8b94e574a651e117da21a632c (patch)
tree3c240f9430256bebeab3ef3252c731e9eb35d89d /include
parent7a8555d871361a1e36152c25826359704c1e46de (diff)
video: Support virtio devices with the splash screen
This is useful for showing a logo when booting from qemu. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/splash.h1
-rw-r--r--include/virtio.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/splash.h b/include/splash.h
index 7fd2de8fea..33e45e6941 100644
--- a/include/splash.h
+++ b/include/splash.h
@@ -30,6 +30,7 @@ enum splash_storage {
SPLASH_STORAGE_MMC,
SPLASH_STORAGE_USB,
SPLASH_STORAGE_SATA,
+ SPLASH_STORAGE_VIRTIO,
};
enum splash_flags {
diff --git a/include/virtio.h b/include/virtio.h
index a42bdad6b8..34e2bfdcdd 100644
--- a/include/virtio.h
+++ b/include/virtio.h
@@ -20,6 +20,7 @@
#ifndef __VIRTIO_H__
#define __VIRTIO_H__
+#include <virtio_types.h>
#include <linux/bitops.h>
#include <linux/bug.h>
#define VIRTIO_ID_NET 1 /* virtio net */