From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Thompson Date: Mon, 12 Apr 2010 17:16:24 +0100 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: <4BC34758.3050706@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/04/10 17:12, Timur Tabi 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. Eventually 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? > To differentiate from "K", which means 1000, rather than 1024. Example Kg = 1000 grammes. kB = 1024 Bytes Nick