]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/lib/video.c
x86: Build vga video code only if CONFIG_VIDEO_VGA is defined
[u-boot] / arch / x86 / lib / video.c
index 3d6b24d6204a67228f93850437013e6df2489c21..20e2416ae16f31f3ae8e441b8ec7b640e3dc00c4 100644 (file)
@@ -222,8 +222,10 @@ int video_init(void)
 
 int drv_video_init(void)
 {
+#ifndef CONFIG_X86_NO_REAL_MODE
        if (video_bios_init())
                return 1;
+#endif
 
        return video_init();
 }