projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f32aac
)
x86: Drop use of global_data fb_base
author
Simon Glass
<sjg@chromium.org>
Wed, 21 Aug 2024 16:18:54 +0000
(10:18 -0600)
committer
Tom Rini
<trini@konsulko.com>
Mon, 26 Aug 2024 20:05:37 +0000
(14:05 -0600)
This value is set by not used on x86 so there is no point in setting it.
Drop the assignment.
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 5f7701265a95340dca95ceb8bfa8188c1260af18..ad25020086c614fce32c93c5f99d8c4455b1ce8b 100644
(file)
--- a/
arch/x86/lib/fsp/fsp_graphics.c
+++ b/
arch/x86/lib/fsp/fsp_graphics.c
@@
-103,7
+103,6
@@
static int fsp_video_probe(struct udevice *dev)
* For IGD, it seems to be always on BAR2.
*/
vesa->phys_base_ptr = dm_pci_read_bar32(dev, 2);
- gd->fb_base = vesa->phys_base_ptr;
ret = vesa_setup_video_priv(vesa, vesa->phys_base_ptr, uc_priv, plat);
if (ret)