diff options
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 |