Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/dev/spi
Module Name: src
Committed By: rkujawa
Date: Fri Feb 15 17:46:53 UTC 2013
Modified Files:
src/sys/dev/spi: spiflash.c
Log Message:
Fix wrong calculation of destination pointer in writes.
Existing calculation of destination pointer was always causing unnecessary
erases of SPI Flash memory and was always writing each consecutive 2048 byte
blocks of data into the same address of the SPI Flash memory. This commit fixes
issue with writes of multiple blocks using 'dd' tool.
Patch from Semihalf.
Author: Michal Dubiel <md%semihalf.com@localhost>
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/spi/spiflash.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index