cmd: add clear screen 'cls' command
authorAnatolij Gustschin <agust@denx.de>
Sat, 1 Dec 2018 09:47:20 +0000 (10:47 +0100)
committerAnatolij Gustschin <agust@denx.de>
Tue, 4 Dec 2018 18:44:57 +0000 (19:44 +0100)
commit4e92e60d35d5ef3a3f7ca9cdd24aa51a1a3263a7
treed6471842dc3671a045f3a8b148cc7a220427bb02
parent06696ebe674de7f65d4f5046a8639b358c6b358c
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 <agust@denx.de>
Tested-by: Patrick.Delaunay <patrick.delaunay@free.fr>
cmd/Kconfig
cmd/Makefile
cmd/cls.c [new file with mode: 0644]
common/lcd.c