From: Wolfgang Denk Date: Fri, 09 Apr 2010 22:40:56 +0200 Subject: [U-Boot] [PATCH] allow print_size to print large numbers on 32-bit systems In-Reply-To: <4BBF8DC3.4090408@freescale.com> 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> Message-ID: <20100409204056.25B6A19F36@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 <4BBF8DC3.4090408@freescale.com> you wrote: > > > Hm... if we go so far, we should probably also prepare for bigger > > prefixes, like printing TB ? > > I suppose. The purpose behind my patch was only to allow 32-bit systems to report when the board has 8GB of DDR. I didn't see much need for anything else. If you really think it's important, I can post an updated version of the patch. 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... 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 Only in our dreams we are free. The rest of the time we need wages. - Terry Pratchett, _Wyrd Sisters_