[PATCH 10/35] video: Avoid setting global_data fb_base in video setup
Simon Glass
sjg at chromium.org
Wed Jul 24 17:08:57 CEST 2024
This field is not used, so don't set it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/video/video-uclass.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/video/video-uclass.c b/drivers/video/video-uclass.c
index 1a2cde47a33..f75c0d4c937 100644
--- a/drivers/video/video-uclass.c
+++ b/drivers/video/video-uclass.c
@@ -139,7 +139,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);
--
2.34.1
More information about the U-Boot
mailing list