diff options
-rw-r--r-- | cmd/bdinfo.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index f2435ab7e5..1fb66c4917 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -416,6 +416,11 @@ static int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, #ifdef CONFIG_BOARD_TYPES printf("Board Type = %ld\n", gd->board_type); #endif +#ifdef CONFIG_SYS_MALLOC_F + printf("Early malloc usage: %lx / %x\n", gd->malloc_ptr, + CONFIG_SYS_MALLOC_F_LEN); +#endif + return 0; } |