From b57ca3e128cc10a133ba79bc7ec3e7b50e7c8fbe Mon Sep 17 00:00:00 2001 From: Becky Bruce Date: Mon, 9 Jun 2008 20:37:16 -0500 Subject: Change bd/gd memsize/ram_size to be phys_size_t. Currently, both are defined as an unsigned long, but should be phys_size_t. This should result in no real change, since phys_size_t is currently an unsigned long for all the default configs. Also add print_lnum to cmd_bdinfo to deal with the potentially wider memsize. Signed-off-by: Becky Bruce --- include/asm-microblaze/u-boot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/asm-microblaze') diff --git a/include/asm-microblaze/u-boot.h b/include/asm-microblaze/u-boot.h index e2035bd..9db491e 100644 --- a/include/asm-microblaze/u-boot.h +++ b/include/asm-microblaze/u-boot.h @@ -34,7 +34,7 @@ typedef struct bd_info { unsigned long bi_memstart; /* start of DRAM memory */ - unsigned long bi_memsize; /* size of DRAM memory in bytes */ + phys_size_t bi_memsize; /* size of DRAM memory in bytes */ unsigned long bi_flashstart; /* start of FLASH memory */ unsigned long bi_flashsize; /* size of FLASH memory */ unsigned long bi_flashoffset; /* reserved area for startup monitor */ -- cgit v1.1