diff options
author | Becky Bruce <becky.bruce@freescale.com> | 2008-06-10 01:37:16 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-06-11 22:54:53 (GMT) |
commit | b57ca3e128cc10a133ba79bc7ec3e7b50e7c8fbe (patch) | |
tree | 247a1f2b1ea4c024206b4ec02a71604cd5ee40b3 /include/asm-arm | |
parent | b77cddc7b52acd4ed78830ac681a398dd3053938 (diff) | |
download | u-boot-b57ca3e128cc10a133ba79bc7ec3e7b50e7c8fbe.tar.xz |
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 <becky.bruce@freescale.com>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/global_data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/global_data.h b/include/asm-arm/global_data.h index 7564ff1..7e2a53a 100644 --- a/include/asm-arm/global_data.h +++ b/include/asm-arm/global_data.h @@ -48,7 +48,7 @@ typedef struct global_data { #if 0 unsigned long cpu_clk; /* CPU clock in Hz! */ unsigned long bus_clk; - unsigned long ram_size; /* RAM size */ + phys_size_t ram_size; /* RAM size */ unsigned long reset_status; /* reset status register at boot */ #endif void **jt; /* jump table */ |