[U-Boot-Users] [PATCH 2/4] Change bd/gd memsize/ram_size to be phys_size_t.

Wolfgang Denk wd at denx.de
Thu Jun 12 00:56:01 CEST 2008


In message <1213061838-12493-2-git-send-email-becky.bruce at 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 <becky.bruce at freescale.com>
> ---
>  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
The universe contains any amount of horrible ways  to  be  woken  up,
such as the noise of the mob breaking down the front door, the scream
of fire engines, or the realization that today is the Monday which on
Friday night was a comfortably long way off.
                                 - Terry Pratchett, _Moving Pictures_




More information about the U-Boot mailing list