[PATCH 28/34] x86: fsp: Don't enable FSP graphics if booted from coreboot
Simon Glass
sjg at chromium.org
Mon Mar 15 06:00:28 CET 2021
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 at chromium.org>
---
arch/x86/lib/fsp/fsp_graphics.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/lib/fsp/fsp_graphics.c b/arch/x86/lib/fsp/fsp_graphics.c
index cc909e0e16a..02fd05c9faf 100644
--- a/arch/x86/lib/fsp/fsp_graphics.c
+++ b/arch/x86/lib/fsp/fsp_graphics.c
@@ -87,7 +87,7 @@ static int fsp_video_probe(struct udevice *dev)
int ret;
if (!ll_boot_init())
- return 0;
+ return -ENODEV;
printf("Video: ");
--
2.31.0.rc2.261.g7f71774620-goog
More information about the U-Boot
mailing list