diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:02:13 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:02:13 +0200 |
commit | 4b07af6730d2811363f158f5175138116038f7b9 (patch) | |
tree | 206044270884f80204a2da69e02ca3b6f5803185 /commands/clear.c | |
parent | d08c60e9d77dc0f83946cd702d383451865e66dd (diff) | |
download | barebox-4b07af6730d2811363f158f5175138116038f7b9.tar.gz barebox-4b07af6730d2811363f158f5175138116038f7b9.tar.xz |
svn_rev_643
structure cleanup
Diffstat (limited to 'commands/clear.c')
-rw-r--r-- | commands/clear.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/commands/clear.c b/commands/clear.c new file mode 100644 index 0000000000..ee7ab07c05 --- /dev/null +++ b/commands/clear.c @@ -0,0 +1,15 @@ +#include <common.h> +#include <command.h> + +int do_clear (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) +{ + printf(ANSI_CLEAR_SCREEN); + + return 0; +} + +U_BOOT_CMD_START(clear) + .maxargs = 1, + .cmd = do_clear, + .usage = "clear screen", +U_BOOT_CMD_END |