summaryrefslogtreecommitdiff
path: root/src/lib/bootmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/bootmode.c')
-rw-r--r--src/lib/bootmode.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/bootmode.c b/src/lib/bootmode.c
index 56b39271e8..2d5a7eb004 100644
--- a/src/lib/bootmode.c
+++ b/src/lib/bootmode.c
@@ -21,7 +21,11 @@ void gfx_set_init_done(int done)
int display_init_required(void)
{
- /* For vboot, always honor VB2_CONTEXT_DISPLAY_INIT. */
+ /* Need display for showing splash screen. */
+ if (CONFIG(BMP_LOGO))
+ return 1;
+
+ /* For vboot, honor VB2_CONTEXT_DISPLAY_INIT. */
if (CONFIG(VBOOT)) {
/* Must always select MUST_REQUEST_DISPLAY when using this
function. */