summaryrefslogtreecommitdiff
path: root/cmd/bootefi.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-07-21 15:00:27 -0400
committerAlexander Graf <agraf@suse.de>2017-07-24 14:43:40 +0200
commitca9193d2b163cd274144edddd29be20cdb5f99a3 (patch)
treefd12f56388bdf244f5d939d9b1e5ca437e72cf4e /cmd/bootefi.c
parent3e094c592bc1dc19bb706379458f6be4e9500287 (diff)
efi_loader: gop: fixes for CONFIG_DM_VIDEO without CONFIG_LCD
Make EFI GOP support work with DM_VIDEO but without legacy LCD. Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/bootefi.c')
-rw-r--r--cmd/bootefi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index 954245740b..b6dedec463 100644
--- a/cmd/bootefi.c
+++ b/cmd/bootefi.c
@@ -230,7 +230,7 @@ static unsigned long do_bootefi_exec(void *efi, void *fdt)
#ifdef CONFIG_PARTITIONS
efi_disk_register();
#endif
-#ifdef CONFIG_LCD
+#if defined(CONFIG_LCD) || defined(CONFIG_DM_VIDEO)
efi_gop_register();
#endif
#ifdef CONFIG_NET