]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: Fix GOP 32bpp exposure
authorAlexander Graf <agraf@suse.de>
Tue, 19 Jun 2018 11:34:54 +0000 (13:34 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 21 Jun 2018 15:18:18 +0000 (17:18 +0200)
commit1fd8e773d4e61d3063348770e9de183bab297de2
tree7485dd780b7f19c1caad6c796b8284d809a9a831
parentf89087039e053b56fd27a426ac36d58c182da36e
efi_loader: Fix GOP 32bpp exposure

We store pixels as BGRA in memory, as can be seen from struct efi_gop_pixel.
So we need to expose the same format to UEFI payloads to actually have them
use the correct colors.

Reported-by: Fabian Vogt <fvogt@suse.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_gop.c