Skip to contentSkip to conversation

Change print_size to take phys_size_t

PATCH New Becky Bruce 2 participants 2 messages Jun 10, 2008 – Jun 11, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 Change print_size to take phys_size_t

---
 include/common.h              |    2 +-
 lib_generic/display_options.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/common.h +1 -1
index 9193624..fd5adb3 100644
@@ -204,7 +204,7 @@ void	hang		(void) __attribute__ ((noreturn));
 /* */
 phys_size_t 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 */
lib_generic/display_options.c +1 -1
index 5ddd94f..a52fa04 100644
@@ -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 */
Signature · 1 line
1.5.4.1
#1 lore raw

PATCH 3/4 Change print_size to take phys_size_t

Quoted 5 lines · In message <[email protected]> you…
---
 include/common.h              |    2 +-
 lib_generic/display_options.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
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
I still miss my ex-wife, but my aim is getting better.