summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-08-21 10:19:02 -0600
committerTom Rini <[email protected]>2024-08-26 14:05:38 -0600
commit32c24a1705a1e9601bd33b60fe9a6079d3211912 (patch)
treef161cff26bf85dcdaf66146d095490595219ecd9
parent3430a62568e7d92d673f15036e5963acb24bb15f (diff)
video: Avoid setting global_data fb_base in video setup
This field is not used, so don't set it. Signed-off-by: Simon Glass <[email protected]>
-rw-r--r--drivers/video/video-uclass.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c
index ef780a6730c..41bb7647fda 100644
--- a/drivers/video/video-uclass.c
+++ b/drivers/video/video-uclass.c
@@ -145,7 +145,6 @@ int video_reserve(ulong *addrp)
*addrp -= CONFIG_VAL(VIDEO_PCI_DEFAULT_FB_SIZE);
gd->video_bottom = *addrp;
- gd->fb_base = *addrp;
debug("Video frame buffers from %lx to %lx\n", gd->video_bottom,
gd->video_top);