Преглед изворни кода

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).
Tom Rini пре 7 година
родитељ
комит
d4e5aff836
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lib/efi_loader/efi_gop.c

+ 1 - 1
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;