From 4e92e60d35d5ef3a3f7ca9cdd24aa51a1a3263a7 Mon Sep 17 00:00:00 2001 From: Anatolij Gustschin Date: Sat, 1 Dec 2018 10:47:20 +0100 Subject: cmd: add clear screen 'cls' command Add common clear screen command for configurations CONFIG_DM_VIDEO, CONFIG_LCD and CONFIG_CFB_CONSOLE. Remove the existing cls command implementation from lcd.c code and activate the command for all boards enabling CONFIG_LCD for compatibility reasons. Signed-off-by: Anatolij Gustschin Tested-by: Patrick.Delaunay --- common/lcd.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'common') diff --git a/common/lcd.c b/common/lcd.c index 2e2bef3..74407a1 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); -- cgit v1.1