summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:44 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:25:02 -0500
commit428a6a18fe5ad5c007fd79a905429ee3ef3af1ea (patch)
tree3a95e160e24fe4d89b845e68db1be643eea006c4 /cmd
parent288b29e44d30afd946724ac577125ea9f80c8aca (diff)
downloadu-boot-428a6a18fe5ad5c007fd79a905429ee3ef3af1ea.tar.gz
u-boot-428a6a18fe5ad5c007fd79a905429ee3ef3af1ea.tar.bz2
u-boot-428a6a18fe5ad5c007fd79a905429ee3ef3af1ea.zip
common: Drop board_show_dram()
This function is not defined by any boards so the feature is not used. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mem.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/cmd/mem.c b/cmd/mem.c
index c6b8038fc9..545534b1fc 100644
--- a/cmd/mem.c
+++ b/cmd/mem.c
@@ -1212,16 +1212,11 @@ U_BOOT_CMD(
#endif
#ifdef CONFIG_CMD_MEMINFO
-__weak void board_show_dram(phys_size_t size)
-{
- puts("DRAM: ");
- print_size(size, "\n");
-}
-
static int do_mem_info(cmd_tbl_t *cmdtp, int flag, int argc,
char * const argv[])
{
- board_show_dram(gd->ram_size);
+ puts("DRAM: ");
+ print_size(gd->ram_size, "\n");
return 0;
}