From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Sat, 17 Nov 2018 14:50:26 +0100 Subject: [U-Boot] [PATCH] video: add command cls In-Reply-To: <1541697872-23945-1-git-send-email-patrick.delaunay@st.com> References: <1541697872-23945-1-git-send-email-patrick.delaunay@st.com> Message-ID: <20181117145026.1b5793fb@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Patrick, On Thu, 8 Nov 2018 18:24:32 +0100 Patrick Delaunay patrick.delaunay at st.com wrote: > Implement the existing command cls, for clear screen, > when CONFIG_DM_VIDEO is activated. > > This command was defined for old LCD framework (not dm) in > common/lcd.c:251 > U_BOOT_CMD(cls, 1, 1, do_lcd_clear, "clear screen", ""); > > This command is useful to clear existing output (vidconsole) before > to display splashscreen with bmp command. Thanks for the patch! But I think we should remove this existing lcd specific cls and add a common command under cmd/cls.c. I'll submit a path for this. -- Anatolij