On Thu, 28 Mar 2013 13:18:05 +0100 Mark Marshall markmarshall14@gmail.com wrote:
I think this is needed for SPI Flash that has a page size of 512.
I have also changed the loop condition in a few places. If the length is not a multiple of stride we need to round up the result of the divide. (Either we need to round up the divide or we should replace the lines "limit = min(stride, len - i * stride);" with "limit = stride;". Rounding up the result of the divide seems to be the correct thing to do.).
Signed-off-by: Mark Marshall mark.marshall@omicron.at
Obsolete since r1666. Thanks for your effort though :)