[U-Boot-Users] [PATCH] bdinfo not showing correct info about memory size
Ricardo Ribalda Delgado
ricardo.ribalda at uam.es
Wed Jul 30 12:42:29 CEST 2008
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at uam.es>
---
common/cmd_bdinfo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index caa467d..583bbc2 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -48,7 +48,7 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
print_num ("bd address", (ulong)bd );
#endif
print_num ("memstart", bd->bi_memstart );
- print_lnum ("memsize", bd->bi_memsize );
+ print_num ("memsize", bd->bi_memsize );
print_num ("flashstart", bd->bi_flashstart );
print_num ("flashsize", bd->bi_flashsize );
print_num ("flashoffset", bd->bi_flashoffset );
--
1.5.6.3
More information about the U-Boot
mailing list