x86: fsp: Don't enable FSP graphics if booted from coreboot
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:00:28 +0000 (18:00 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 02:04:30 +0000 (15:04 +1300)
commit937175ee72fa5318016be3d887bd1a1b5409f038
treecf5645b80dfb2895c7066a9d7200435908c9ea05
parent19987c9834bfd854ff27ae0382ce18511b84c6ea
x86: fsp: Don't enable FSP graphics if booted from coreboot

This driver cannot work when booted from coreboot, since the FSP
information is not available. Disable it in that case, so that the
coreboot video driver can be used instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/fsp/fsp_graphics.c