diff options
author | Alexander Graf <agraf@suse.de> | 2016-03-15 18:38:21 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-27 09:12:12 -0400 |
commit | be8d324191f3cd2f4861629ccf69106d58aaa70f (patch) | |
tree | 440530288dbfb18f9bdd4d7b1294e37a7a00112e /cmd/bootefi.c | |
parent | 705c506e4faa7c22b492a1c560f7de86fcbcc913 (diff) | |
download | u-boot-be8d324191f3cd2f4861629ccf69106d58aaa70f.tar.gz |
efi_loader: Add GOP support
The EFI standard defines a simple boot protocol that an EFI payload can use
to access video output.
This patch adds support to expose exactly that one (and the mode already in
use) as possible graphical configuration to an EFI payload.
With this, I can successfully run grub2 with graphical output.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/bootefi.c')
-rw-r--r-- | cmd/bootefi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index 2f0b90a9da..3add632bc4 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -141,6 +141,9 @@ static unsigned long do_bootefi_exec(void *efi) #ifdef CONFIG_PARTITIONS efi_disk_register(); #endif +#ifdef CONFIG_LCD + efi_gop_register(); +#endif /* Call our payload! */ #ifdef DEBUG_EFI |