summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/video.c')
-rw-r--r--arch/x86/lib/video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/video.c b/arch/x86/lib/video.c
index 3d6b24d620..20e2416ae1 100644
--- a/arch/x86/lib/video.c
+++ b/arch/x86/lib/video.c
@@ -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();
}
OpenPOWER on IntegriCloud