summaryrefslogtreecommitdiff
path: root/common/cmd_bdinfo.c
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2015-02-06 23:06:48 +0100
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-02-17 22:54:38 +0100
commita752a8b4c49d67daa4ea9f9ebac3972bb1c2328b (patch)
tree145248ad901cd8fcfbaa385345c270fdbea14647 /common/cmd_bdinfo.c
parentc722f0b026249385bbbcec4f5be9bd3abd69342c (diff)
downloadu-boot-imx-a752a8b4c49d67daa4ea9f9ebac3972bb1c2328b.zip
u-boot-imx-a752a8b4c49d67daa4ea9f9ebac3972bb1c2328b.tar.gz
u-boot-imx-a752a8b4c49d67daa4ea9f9ebac3972bb1c2328b.tar.bz2
avr32: add generic board support
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'common/cmd_bdinfo.c')
-rw-r--r--common/cmd_bdinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index e9eab23..aa81da2 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -345,8 +345,8 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
bd_t *bd = gd->bd;
print_num("boot_params", (ulong)bd->bi_boot_params);
- print_num("memstart", (ulong)bd->bi_memstart);
- print_lnum("memsize", (u64)bd->bi_memsize);
+ print_num("memstart", (ulong)bd->bi_dram[0].start);
+ print_lnum("memsize", (u64)bd->bi_dram[0].size);
print_num("flashstart", (ulong)bd->bi_flashstart);
print_num("flashsize", (ulong)bd->bi_flashsize);
print_num("flashoffset", (ulong)bd->bi_flashoffset);