From: Wolfgang Denk Date: Thu, 12 Jun 2008 00:55:31 +0200 Subject: [U-Boot-Users] [PATCH 2/4] Change bd/gd memsize/ram_size to be phys_size_t. In-Reply-To: Your message of "Mon, 09 Jun 2008 20:37:16 CDT." <1213061838-12493-2-git-send-email-becky.bruce@freescale.com> Message-ID: <20080611225531.AB8FE24345@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1213061838-12493-2-git-send-email-becky.bruce@freescale.com> you wrote: > 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 > --- > board/trab/memory.c | 2 +- > common/cmd_bdinfo.c | 24 ++++++++++++++++-------- > include/asm-arm/global_data.h | 2 +- > include/asm-blackfin/global_data.h | 2 +- > include/asm-blackfin/u-boot.h | 2 +- > include/asm-i386/global_data.h | 2 +- > include/asm-i386/u-boot.h | 2 +- > include/asm-m68k/global_data.h | 2 +- > include/asm-m68k/u-boot.h | 2 +- > include/asm-microblaze/u-boot.h | 2 +- > include/asm-mips/global_data.h | 2 +- > include/asm-mips/u-boot.h | 2 +- > include/asm-nios/global_data.h | 2 +- > include/asm-nios/u-boot.h | 2 +- > include/asm-nios2/global_data.h | 2 +- > include/asm-nios2/u-boot.h | 2 +- > include/asm-ppc/global_data.h | 2 +- > include/asm-ppc/u-boot.h | 2 +- > include/asm-sh/global_data.h | 2 +- > include/asm-sh/u-boot.h | 2 +- > include/asm-sparc/global_data.h | 2 +- > include/asm-sparc/u-boot.h | 2 +- > 22 files changed, 37 insertions(+), 29 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Always leave room to add an explanation if it doesn't work out.