summaryrefslogtreecommitdiff
path: root/include/asm-m68k/global_data.h
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-06-09 20:37:16 -0500
committerWolfgang Denk <wd@denx.de>2008-06-12 00:54:53 +0200
commitb57ca3e128cc10a133ba79bc7ec3e7b50e7c8fbe (patch)
tree247a1f2b1ea4c024206b4ec02a71604cd5ee40b3 /include/asm-m68k/global_data.h
parentb77cddc7b52acd4ed78830ac681a398dd3053938 (diff)
downloadu-boot-imx-b57ca3e128cc10a133ba79bc7ec3e7b50e7c8fbe.zip
u-boot-imx-b57ca3e128cc10a133ba79bc7ec3e7b50e7c8fbe.tar.gz
u-boot-imx-b57ca3e128cc10a133ba79bc7ec3e7b50e7c8fbe.tar.bz2
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-m68k/global_data.h')
-rw-r--r--include/asm-m68k/global_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m68k/global_data.h b/include/asm-m68k/global_data.h
index 7377d31..10c6931 100644
--- a/include/asm-m68k/global_data.h
+++ b/include/asm-m68k/global_data.h
@@ -51,7 +51,7 @@ typedef struct global_data {
unsigned long i2c1_clk;
unsigned long i2c2_clk;
#endif
- unsigned long ram_size; /* RAM size */
+ phys_size_t ram_size; /* RAM size */
unsigned long reloc_off; /* Relocation Offset */
unsigned long reset_status; /* reset status register at boot */
unsigned long env_addr; /* Address of Environment struct */