[U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

Sourav Poddar sourav.poddar at ti.com
Tue Jul 23 16:53:05 CEST 2013


On Tuesday 23 July 2013 08:00 PM, Felipe Balbi wrote:
> Hi,
>
> On Tue, Jul 23, 2013 at 07:53:06PM +0530, Sourav Poddar wrote:
>>> @@ -311,7 +341,7 @@ int spi_flash_cmd_read_fast(struct spi_flash *flash, u32 offset,
>>>   			debug("SF: read failed\n");
>>>   			break;
>>>   		}
>>> -
>>> +#endif
>>>   		offset += read_len;
>>>   		len -= read_len;
>>>   		data += read_len;
>> Elaborating a bit more on this,
>> There is a constrain on our hardware, which goes like this..
>>
>> As soon as the words transfered is 4096 bytes, the CS gets deasserted
>> automatically.
> constraint is 4096 *words*. If you're using anything other than 8-bits
> per word, your statement doesn't make sense.
>
Yes, sorry. Its 4096 words.


More information about the U-Boot mailing list