* [U-Boot-Users] [PATCH] print_size: Enable printing of >= 4GB
@ 2008-07-09 15:35 Stefan Roese
2008-07-09 16:16 ` Becky Bruce
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Roese @ 2008-07-09 15:35 UTC (permalink / raw)
To: u-boot
Signed-off-by: Stefan Roese <sr@denx.de>
---
lib_generic/display_options.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib_generic/display_options.c b/lib_generic/display_options.c
index a52fa04..99aa443 100644
--- a/lib_generic/display_options.c
+++ b/lib_generic/display_options.c
@@ -45,7 +45,7 @@ int display_options (void)
void print_size (phys_size_t size, const char *s)
{
ulong m, n;
- ulong d = 1 << 20; /* 1 MB */
+ phys_size_t d = 1 << 20; /* 1 MB */
char c = 'M';
if (size < d) { /* print in kB */
--
1.5.6.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] print_size: Enable printing of >= 4GB
2008-07-09 15:35 [U-Boot-Users] [PATCH] print_size: Enable printing of >= 4GB Stefan Roese
@ 2008-07-09 16:16 ` Becky Bruce
2008-07-09 16:39 ` Stefan Roese
0 siblings, 1 reply; 3+ messages in thread
From: Becky Bruce @ 2008-07-09 16:16 UTC (permalink / raw)
To: u-boot
Stefan,
As we discussed on IRC, I'm about to push a patch that supersedes this
one and allows printing to report "GB" instead of MB for large RAM
sizes.
Cheers,
B
On Jul 9, 2008, at 10:35 AM, Stefan Roese wrote:
> Signed-off-by: Stefan Roese <sr@denx.de>
> ---
> lib_generic/display_options.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/lib_generic/display_options.c b/lib_generic/
> display_options.c
> index a52fa04..99aa443 100644
> --- a/lib_generic/display_options.c
> +++ b/lib_generic/display_options.c
> @@ -45,7 +45,7 @@ int display_options (void)
> void print_size (phys_size_t size, const char *s)
> {
> ulong m, n;
> - ulong d = 1 << 20; /* 1 MB */
> + phys_size_t d = 1 << 20; /* 1 MB */
> char c = 'M';
>
> if (size < d) { /* print in kB */
> --
> 1.5.6.2
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] print_size: Enable printing of >= 4GB
2008-07-09 16:16 ` Becky Bruce
@ 2008-07-09 16:39 ` Stefan Roese
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2008-07-09 16:39 UTC (permalink / raw)
To: u-boot
Becky,
On Wednesday 09 July 2008, Becky Bruce wrote:
> As we discussed on IRC, I'm about to push a patch that supersedes this
> one and allows printing to report "GB" instead of MB for large RAM
> sizes.
Great, thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-09 16:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-09 15:35 [U-Boot-Users] [PATCH] print_size: Enable printing of >= 4GB Stefan Roese
2008-07-09 16:16 ` Becky Bruce
2008-07-09 16:39 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox