[U-Boot] [PATCH] cfi_flash: Fix "Unknown FLASH" error message

Stefan Roese sr at denx.de
Tue Oct 12 09:00:09 CEST 2010


On Wednesday 29 September 2010 20:49:05 Peter Tyser wrote:
> From: John Schmoller <jschmoller at xes-inc.com>
> 
> 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


More information about the U-Boot mailing list