common: relocate fdt_blob in global_data for FDTSRC_EMBED case
[u-boot.git] / cmd / cls.c
blob4bee8a18305c0c3f41012a7262c1ac1bc0567d53
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * (C) Copyright 2018
4 * DENX Software Engineering, Anatolij Gustschin <agust@denx.de>
6 * cls - clear screen command
7 */
8 #include <command.h>
9 #include <console.h>
10 #include <dm.h>
12 static int do_video_clear(struct cmd_tbl *cmdtp, int flag, int argc,
13 char *const argv[])
15 if (console_clear())
16 return CMD_RET_FAILURE;
18 return CMD_RET_SUCCESS;
21 U_BOOT_CMD(cls, 1, 1, do_video_clear, "clear screen", "");