]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: remove support for CONFIG_LCD
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 14 Jul 2022 06:36:29 +0000 (08:36 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 18 Jul 2022 15:21:49 +0000 (17:21 +0200)
There is no board left using CONFIG_LCD without CONFIG_DM_VIDEO.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/Makefile
lib/efi_loader/efi_gop.c

index aaaa25cefe01b8f6cae3ce37cccc5c8e94e1e2b5..f54c244c326895c77eb8a34f1db98368ceb0c9e8 100644 (file)
@@ -66,7 +66,6 @@ obj-$(CONFIG_EFI_VARIABLES_PRESEED) += efi_var_seed.o
 endif
 obj-y += efi_watchdog.o
 obj-$(CONFIG_EFI_ESRT) += efi_esrt.o
-obj-$(CONFIG_LCD) += efi_gop.o
 obj-$(CONFIG_DM_VIDEO) += efi_gop.o
 obj-$(CONFIG_BLK) += efi_disk.o
 obj-$(CONFIG_NET) += efi_net.o
index 2c81859807357d00c6e92bd88bfaaaef79eb294e..5908b5c646697724cdabc8a45d6159602db509cf 100644 (file)
@@ -8,7 +8,6 @@
 #include <common.h>
 #include <dm.h>
 #include <efi_loader.h>
-#include <lcd.h>
 #include <log.h>
 #include <malloc.h>
 #include <video.h>
@@ -459,11 +458,7 @@ efi_status_t EFIAPI gop_blt(struct efi_gop *this, struct efi_gop_pixel *buffer,
        if (ret != EFI_SUCCESS)
                return EFI_EXIT(ret);
 
-#ifdef CONFIG_DM_VIDEO
        video_sync_all();
-#else
-       lcd_sync();
-#endif
 
        return EFI_EXIT(EFI_SUCCESS);
 }