Skip to content
Snippets Groups Projects
Commit 7dedefdf authored by John Schmoller's avatar John Schmoller Committed by Stefan Roese
Browse files

flash: Fix CFI buffer size bug


Fix bug introduced by 9c048b52.

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: default avatarJohn Schmoller <jschmoller@xes-inc.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent f6e3a1fa
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment