summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-12-05 08:24:14 -0500
committerTom Rini <trini@konsulko.com>2018-12-05 08:24:14 -0500
commit9649c5343fb1e105109f8aac499134dd4bd723ca (patch)
tree8a2d7dfb8963e332d585b8b6615b1159bcfc75f3 /common
parent2e2a2a5d4f0c2e2642326d9000ce1f1553632e6a (diff)
parent96d82f6c860e3f7ce5c301a3d4fc5541b2ce713e (diff)
downloadu-boot-9649c5343fb1e105109f8aac499134dd4bd723ca.tar.gz
u-boot-9649c5343fb1e105109f8aac499134dd4bd723ca.tar.bz2
u-boot-9649c5343fb1e105109f8aac499134dd4bd723ca.zip
Merge tag 'video-updates-for-2019.01-rc2' of git://git.denx.de/u-boot-video
video, bmp and cls command updates
Diffstat (limited to 'common')
-rw-r--r--common/lcd.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/lcd.c b/common/lcd.c
index 2e2bef3848..cd630405d4 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -242,14 +242,6 @@ void lcd_clear(void)
lcd_sync();
}
-static int do_lcd_clear(cmd_tbl_t *cmdtp, int flag, int argc,
- char *const argv[])
-{
- lcd_clear();
- return 0;
-}
-U_BOOT_CMD(cls, 1, 1, do_lcd_clear, "clear screen", "");
-
static int lcd_init(void *lcdbase)
{
debug("[LCD] Initializing LCD frambuffer at %p\n", lcdbase);
@@ -389,7 +381,6 @@ static inline void lcd_logo_plot(int x, int y) {}
#if defined(CONFIG_CMD_BMP) || defined(CONFIG_SPLASH_SCREEN)
#ifdef CONFIG_SPLASH_SCREEN_ALIGN
-#define BMP_ALIGN_CENTER 0x7FFF
static void splash_align_axis(int *axis, unsigned long panel_size,
unsigned long picture_size)