diff options
author | John Schmoller <jschmoller@xes-inc.com> | 2009-08-12 10:55:47 -0500 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2009-08-13 09:28:20 +0200 |
commit | 7dedefdf749ff02c1086f7ddb8cb83a77b00d030 (patch) | |
tree | 7ab3070e70b55fb4005910eeb39afaf7cca068f6 /board/amcc/canyonlands/chip_config.c | |
parent | f6e3a1fa92f61083885178101e973c86b419a6f7 (diff) | |
download | u-boot-imx-7dedefdf749ff02c1086f7ddb8cb83a77b00d030.zip u-boot-imx-7dedefdf749ff02c1086f7ddb8cb83a77b00d030.tar.gz u-boot-imx-7dedefdf749ff02c1086f7ddb8cb83a77b00d030.tar.bz2 |
flash: Fix CFI buffer size bug
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@xes-inc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/amcc/canyonlands/chip_config.c')
0 files changed, 0 insertions, 0 deletions