[U-Boot] [PATCH] flash: Fix CFI buffer size bug

Stefan Roese sr at denx.de
Thu Aug 13 09:32:53 CEST 2009


On Wednesday 12 August 2009 17:55:47 John Schmoller wrote:
> Fix bug introduced by 9c048b523413ae5f3ff34e00cf57569c3368ab51.
>
> The cfi_flash.c driver cast the flash buffer size to a uchar in
> flash_write_cfibuffer(). On some flash parts, (tested on Numonyx
> part PC32F512M29EWH), the buffer size is 1KB. Remove the cast to
> uchar to enable buffer sizes to be larger.
>
> Signed-off-by: John Schmoller <jschmoller at xes-inc.com>

Applied to 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