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

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

index 792d6314d15ef50797c946aa4c3f0683eeec2ec6..e72839cead477fbce33773a6a12449121af2d264 100644 (file)
@@ -335,7 +335,6 @@ static int mxs_video_probe(struct udevice *dev)
        mmu_set_region_dcache_behaviour(fb_start, fb_end - fb_start,
                                        DCACHE_WRITEBACK);
        video_set_flush_dcache(dev, true);
-       gd->fb_base = plat->base;
 
        return ret;
 }