From: Becky Bruce Date: Tue, 10 Jun 2008 01:37:17 +0000 (-0500) Subject: Change print_size to take phys_size_t X-Git-Tag: v2008.10-rc1~270 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61b09fc2952dc636017df4e7970e3de132276ba1;p=platform%2Fkernel%2Fu-boot.git Change print_size to take phys_size_t Signed-off-by: Becky Bruce --- diff --git a/include/common.h b/include/common.h index 26e1b46..8fa339d 100644 --- a/include/common.h +++ b/include/common.h @@ -204,7 +204,7 @@ void hang (void) __attribute__ ((noreturn)); /* */ long int initdram (int); int display_options (void); -void print_size (ulong, const char *); +void print_size (phys_size_t, const char *); int print_buffer (ulong addr, void* data, uint width, uint count, uint linelen); /* common/main.c */ 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 */