diff options
author | Simon Glass | 2022-10-16 15:57:41 -0600 |
---|---|---|
committer | Anatolij Gustschin | 2022-10-30 20:07:17 +0100 |
commit | f9b7bd7e91ee5340611799846c92c698db4d28c4 (patch) | |
tree | 5179114940642e7c4c8d9fd0c9b0aa9432c91d12 /cmd/bmp.c | |
parent | c31e0c62b14d0fc651d31c93863fe6a421a3f78a (diff) |
video: cmd: Drop old LCD code
This relies on the old LCD implementation which is to be removed. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/bmp.c')
-rw-r--r-- | cmd/bmp.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/cmd/bmp.c b/cmd/bmp.c index 880edad8898..46d0d916e86 100644 --- a/cmd/bmp.c +++ b/cmd/bmp.c @@ -14,7 +14,6 @@ #include <dm.h> #include <gzip.h> #include <image.h> -#include <lcd.h> #include <log.h> #include <malloc.h> #include <mapmem.h> @@ -223,9 +222,7 @@ static int bmp_info(ulong addr) int bmp_display(ulong addr, int x, int y) { -#ifdef CONFIG_DM_VIDEO struct udevice *dev; -#endif int ret; struct bmp_image *bmp = map_sysmem(addr, 0); void *bmp_alloc_addr = NULL; @@ -241,7 +238,6 @@ int bmp_display(ulong addr, int x, int y) } addr = map_to_sysmem(bmp); -#ifdef CONFIG_DM_VIDEO ret = uclass_first_device_err(UCLASS_VIDEO, &dev); if (!ret) { bool align = false; @@ -251,11 +247,6 @@ int bmp_display(ulong addr, int x, int y) ret = video_bmp_display(dev, addr, x, y, align); } -#elif defined(CONFIG_LCD) - ret = lcd_display_bitmap(addr, x, y); -#else -# error bmp_display() requires CONFIG_LCD -#endif if (bmp_alloc_addr) free(bmp_alloc_addr); |