]> git.sur5r.net Git - u-boot/commitdiff
Merge tag 'signed-efi-2018.07' of git://github.com/agraf/u-boot
authorTom Rini <trini@konsulko.com>
Fri, 22 Jun 2018 12:14:49 +0000 (08:14 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 22 Jun 2018 12:14:49 +0000 (08:14 -0400)
Patch queue for efi - 2018-06-21

A single urgent fix to make sure green and red are not swapped
in OSs that make use of EFI GOP frame buffers to display pictures
(such as efifb in Linux).

lib/efi_loader/efi_gop.c

index 1afe8418e127342771b9989ef115d5c69bff5d73..3a36bbcbfaeac90a14acdab6791fa639ee309edf 100644 (file)
@@ -472,7 +472,7 @@ efi_status_t efi_gop_register(void)
        gopobj->info.version = 0;
        gopobj->info.width = col;
        gopobj->info.height = row;
-       gopobj->info.pixel_format = EFI_GOT_RGBA8;
+       gopobj->info.pixel_format = EFI_GOT_BGRA8;
        gopobj->info.pixels_per_scanline = col;
 
        gopobj->bpix = bpix;