]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/video/video-uclass.c
video: add config option to skip framebuffer clear
[people/ms/u-boot.git] / drivers / video / video-uclass.c
index 3036e3a1f25f054617bbf5852f762268bf72027e..dfa39b0d1b893ad774e0fa35bb57760b34bf8973 100644 (file)
@@ -199,7 +199,9 @@ static int video_post_probe(struct udevice *dev)
 #else
        priv->colour_bg = 0xffffff;
 #endif
-       video_clear(dev);
+
+       if (!CONFIG_IS_ENABLED(NO_FB_CLEAR))
+               video_clear(dev);
 
        /*
         * Create a text console device. For now we always do this, although