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>
This commit is contained in:
Rob Clark
2017-07-21 15:00:27 -04:00
committed by Alexander Graf
parent 3e094c592b
commit ca9193d2b1
3 changed files with 8 additions and 2 deletions

View File

@ -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