diff options
author | Tom Rini <trini@konsulko.com> | 2020-09-07 14:31:00 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-07 14:31:00 -0400 |
commit | 314b9b4a38befd120ce1c566d9eea8e0ec9d8336 (patch) | |
tree | 928486047400278e4a08469cd61a94aba690e868 /cmd | |
parent | 96d66a9b8ce11aae9f8bef5244b83b4740b37644 (diff) | |
parent | bac9da46c57511e574aa7e763e17fdd6f55db5bb (diff) | |
download | u-boot-314b9b4a38befd120ce1c566d9eea8e0ec9d8336.tar.gz u-boot-314b9b4a38befd120ce1c566d9eea8e0ec9d8336.tar.xz u-boot-314b9b4a38befd120ce1c566d9eea8e0ec9d8336.zip |
Merge branch 'remove-config-nr-dram-banks-v9-2020-08-26' of https://gitlab.denx.de/u-boot/custodians/u-boot-marvell into next
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/bdinfo.c | 10 | ||||
-rw-r--r-- | cmd/bedbug.c | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 9593b345a3..0229846d3e 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]; @@ -49,7 +43,6 @@ void bdinfo_print_mhz(const char *name, unsigned long hz) static void print_bi_dram(const struct bd_info *bd) { -#ifdef CONFIG_NR_DRAM_BANKS int i; for (i = 0; i < CONFIG_NR_DRAM_BANKS; ++i) { @@ -59,7 +52,6 @@ static void print_bi_dram(const struct bd_info *bd) bdinfo_print_num("-> size", bd->bi_dram[i].size); } } -#endif } __weak void arch_print_bdinfo(void) @@ -75,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); diff --git a/cmd/bedbug.c b/cmd/bedbug.c index 81ce256480..684e4a9ea5 100644 --- a/cmd/bedbug.c +++ b/cmd/bedbug.c @@ -348,7 +348,7 @@ int do_bedbug_stack(struct cmd_tbl *cmdtp, int flag, int argc, return 1; } - top = gd->bd->bi_memstart + gd->bd->bi_memsize; + top = gd->ram_start + gd->ram_size; depth = 0; printf ("Depth PC\n"); |