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/meminfo.c | |
parent | d08c60e9d77dc0f83946cd702d383451865e66dd (diff) | |
download | barebox-4b07af6730d2811363f158f5175138116038f7b9.tar.gz barebox-4b07af6730d2811363f158f5175138116038f7b9.tar.xz |
svn_rev_643
structure cleanup
Diffstat (limited to 'commands/meminfo.c')
-rw-r--r-- | commands/meminfo.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/commands/meminfo.c b/commands/meminfo.c new file mode 100644 index 0000000000..16b7a8f4cb --- /dev/null +++ b/commands/meminfo.c @@ -0,0 +1,15 @@ +#include <common.h> +#include <command.h> + +int do_meminfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) +{ + malloc_stats(); + + return 0; +} + +U_BOOT_CMD_START(meminfo) + .maxargs = 1, + .cmd = do_meminfo, + .usage = "print info about memory usage", +U_BOOT_CMD_END |