x86: Init video in SPL if enabled
authorSimon Glass <sjg@chromium.org>
Sun, 16 Jul 2023 03:39:01 +0000 (21:39 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 09:12:26 +0000 (17:12 +0800)
commit7c10e111c18d73e1bb9c64c79e778c9976900d05
treebe170f9b8324bdffa20bdbd707ff7ba1aad96da8
parent352525801992799b9bb289e3233a8b17bcf2bc52
x86: Init video in SPL if enabled

When video is required in SPL, set this up ready for use. Ignore any
problems since it may be that video is not actually available and we
still want to continue on to U-Boot proper in that case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/spl.c