From: Wolfgang Denk Date: Mon, 12 Apr 2010 19:59:32 +0200 Subject: [U-Boot] [PATCH] allow print_size to print large numbers on 32-bit systems In-Reply-To: References: <1269990179-23666-1-git-send-email-timur@freescale.com> <1269990179-23666-2-git-send-email-timur@freescale.com> <20100409202259.166C219F36@gemini.denx.de> <4BBF8DC3.4090408@freescale.com> <20100409204056.25B6A19F36@gemini.denx.de> Message-ID: <20100412175932.22D1919F60@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Timur Tabi, In message you wrote: > On Fri, Apr 9, 2010 at 3:40 PM, Wolfgang Denk wrote: > > > If we make this change, we can probably use this function as well to > > print the size of storage devices like NAND, USB Mass Storage, hard > > disk drives, etc. =A0Eventually we can clean up some pieces of code > > then... > > I'm working on it now. I did notice something odd, though. The > strings for sizes are GB, MB, and kB. Why is the "k" lowercase? H[iy]st[oe]ric reasons, probably. We should use standardized names now, i. e. GiB, MiB, KiB, etc. Best regards, Wolfgang Denk -- 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 Madness takes its toll. Please have exact change.