From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Tue, 12 Oct 2010 09:00:09 +0200 Subject: [U-Boot] [PATCH] cfi_flash: Fix "Unknown FLASH" error message In-Reply-To: <1285786145-5246-1-git-send-email-ptyser@xes-inc.com> References: <1285786145-5246-1-git-send-email-ptyser@xes-inc.com> Message-ID: <201010120900.10055.sr@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 On Wednesday 29 September 2010 20:49:05 Peter Tyser wrote: > From: John Schmoller > > When a CFI flash chip could not be detected an error message similar to > the following would be printed on bootup: > > FLASH: ## Unknown FLASH on Bank 1 - Size = 0x01000000 = 0 MB > > The printf incorrectly converted the flash size into megabytes. This > patch fixes the printing of the flash size in megabytes: > > FLASH: ## Unknown FLASH on Bank 1 - Size = 0x01000000 = 16 MB Applied to u-boot-cfi-flash/master. Thanks. Cheers, 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