diff options
author | Stefan Roese | 2020-08-13 07:04:24 +0200 |
---|---|---|
committer | Stefan Roese | 2020-08-26 09:20:00 +0200 |
commit | 60ebf5fb4e8eb31dd7478d049fadaaafcc76afb7 (patch) | |
tree | 37d0e10f40adad8599a762a8d9ab3939d7cf65ca /cmd | |
parent | e516404ee52080dd75a9f714fecfc17638839a6a (diff) |
cmd: bdinfo: Remove print of superseeded bi_memstart / bi_memsize values
Remove printing of the superseeded (by bi_dram[]) memory values from the
bdinfo command.
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/bdinfo.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 9e230f23cbb..0229846d3ea 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -34,12 +34,6 @@ static void print_eth(int idx) printf("%-12s= %s\n", name, val); } -static void print_phys_addr(const char *name, phys_addr_t value) -{ - printf("%-12s= 0x%.*llx\n", name, 2 * (int)sizeof(ulong), - (unsigned long long)value); -} - void bdinfo_print_mhz(const char *name, unsigned long hz) { char buf[32]; @@ -73,8 +67,6 @@ int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) #endif bdinfo_print_num("boot_params", (ulong)bd->bi_boot_params); print_bi_dram(bd); - bdinfo_print_num("memstart", (ulong)bd->bi_memstart); - print_phys_addr("memsize", bd->bi_memsize); if (IS_ENABLED(CONFIG_SYS_HAS_SRAM)) { bdinfo_print_num("sramstart", (ulong)bd->bi_sramstart); bdinfo_print_num("sramsize", (ulong)bd->bi_sramsize); |