summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-03-15 18:38:21 +0100
committerTom Rini <trini@konsulko.com>2016-03-27 09:12:12 -0400
commitbe8d324191f3cd2f4861629ccf69106d58aaa70f (patch)
tree440530288dbfb18f9bdd4d7b1294e37a7a00112e /cmd
parent705c506e4faa7c22b492a1c560f7de86fcbcc913 (diff)
downloadtalos-obmc-uboot-be8d324191f3cd2f4861629ccf69106d58aaa70f.tar.gz
talos-obmc-uboot-be8d324191f3cd2f4861629ccf69106d58aaa70f.zip
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')
-rw-r--r--cmd/bootefi.c3
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
OpenPOWER on IntegriCloud