]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/video/console/vgacon.c
vgacon: check for efi machine
[mv-sheeva.git] / drivers / video / console / vgacon.c
index 915448ec75bf2fd33617eb73517876da74c68137..c97491b8b39b1eb51f830f76f23469a1c655ef7e 100644 (file)
@@ -375,7 +375,8 @@ static const char *vgacon_startup(void)
        u16 saved1, saved2;
        volatile u16 *p;
 
-       if (screen_info.orig_video_isVGA == VIDEO_TYPE_VLFB) {
+       if (screen_info.orig_video_isVGA == VIDEO_TYPE_VLFB ||
+           screen_info.orig_video_isVGA == VIDEO_TYPE_EFI) {
              no_vga:
 #ifdef CONFIG_DUMMY_CONSOLE
                conswitchp = &dummy_con;