]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/grub-2.00_disable_vga_fallback.patch
Merge remote-tracking branch 'mfischer/ethtool' into next
[ipfire-2.x.git] / src / patches / grub-2.00_disable_vga_fallback.patch
1 We have to remove the vga fallback because this not work on bay-trail and other
2 new intel onboard graphics.
3
4 diff -Naur grub-2.00.org/grub-core/video/i386/pc/vga.c grub-2.00/grub-core/video/i386/pc/vga.c
5 --- grub-2.00.org/grub-core/video/i386/pc/vga.c 2012-06-06 23:21:02.000000000 +0200
6 +++ grub-2.00/grub-core/video/i386/pc/vga.c 2014-09-05 21:41:04.790870375 +0200
7 @@ -122,7 +122,7 @@
8 {
9 grub_err_t err;
10
11 - if ((width && width != VGA_WIDTH) || (height && height != VGA_HEIGHT))
12 +// if ((width && width != VGA_WIDTH) || (height && height != VGA_HEIGHT))
13 return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no matching mode found");
14
15 framebuffer.temporary_buffer = grub_malloc (VGA_HEIGHT * VGA_WIDTH);