projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19987c9
)
x86: fsp: Don't enable FSP graphics if booted from coreboot
author
Simon Glass
<sjg@chromium.org>
Mon, 15 Mar 2021 05:00:28 +0000
(18:00 +1300)
committer
Simon Glass
<sjg@chromium.org>
Sat, 27 Mar 2021 02:04:30 +0000
(15:04 +1300)
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
patch
|
blob
|
history
diff --git
a/arch/x86/lib/fsp/fsp_graphics.c
b/arch/x86/lib/fsp/fsp_graphics.c
index cc909e0e16aad7539a228c3f8026a5692af67901..02fd05c9fafd5e2bede3a97268e7ac9a8c6f8649 100644
(file)
--- 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: ");