]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
video: Avoid setting global_data fb_base in video setup
authorSimon Glass <sjg@chromium.org>
Wed, 21 Aug 2024 16:19:02 +0000 (10:19 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 26 Aug 2024 20:05:38 +0000 (14:05 -0600)
This field is not used, so don't set it.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/video/video-uclass.c

index ef780a6730cbaf795d19f068506dcdc272f7ce2c..41bb7647fda2713ce915dd0fab02c89a3b27d4d2 100644 (file)
@@ -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);