summaryrefslogtreecommitdiff
path: root/lib_generic/display_options.c
diff options
context:
space:
mode:
authorBecky Bruce <becky.bruce@freescale.com>2008-06-09 20:37:17 -0500
committerWolfgang Denk <wd@denx.de>2008-06-12 00:55:43 +0200
commit61b09fc2952dc636017df4e7970e3de132276ba1 (patch)
tree3574cc54b798e03e5c7eda38a66368874634014e /lib_generic/display_options.c
parentb57ca3e128cc10a133ba79bc7ec3e7b50e7c8fbe (diff)
downloadu-boot-imx-61b09fc2952dc636017df4e7970e3de132276ba1.zip
u-boot-imx-61b09fc2952dc636017df4e7970e3de132276ba1.tar.gz
u-boot-imx-61b09fc2952dc636017df4e7970e3de132276ba1.tar.bz2
Change print_size to take phys_size_t
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'lib_generic/display_options.c')
-rw-r--r--lib_generic/display_options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_generic/display_options.c b/lib_generic/display_options.c
index 5ddd94f..a52fa04 100644
--- a/lib_generic/display_options.c
+++ b/lib_generic/display_options.c
@@ -42,7 +42,7 @@ int display_options (void)
* print sizes as "xxx kB", "xxx.y kB", "xxx MB" or "xxx.y MB" as needed;
* allow for optional trailing string (like "\n")
*/
-void print_size (ulong size, const char *s)
+void print_size (phys_size_t size, const char *s)
{
ulong m, n;
ulong d = 1 << 20; /* 1 MB */