From: Tom Rini Date: Fri, 22 Jun 2018 12:14:49 +0000 (-0400) Subject: Merge tag 'signed-efi-2018.07' of git://github.com/agraf/u-boot X-Git-Tag: v2018.07-rc3~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d4e5aff8361e2242f4175b98a7ddf370fc2fec39;hp=dc7df68f21093039b3ab1a1702f5b7cd3e621431;p=u-boot Merge tag 'signed-efi-2018.07' of git://github.com/agraf/u-boot 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). --- diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c index 1afe8418e1..3a36bbcbfa 100644 --- a/lib/efi_loader/efi_gop.c +++ b/lib/efi_loader/efi_gop.c @@ -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;