[U-Boot] [PATCH 3/5] sf: sf_dataflash: Remove CONFIG_SPI_DATAFLASH_WRITE_VERIFY option
Wang Haikun
Haikun.Wang at freescale.com
Mon Jul 20 07:57:41 CEST 2015
On 7/7/2015 1:33 AM, Simon Glass wrote:
> Hi,
>
> On 2 July 2015 at 03:12, Haikun Wang <haikun.wang at freescale.com> wrote:
>> Signed-off-by: Haikun Wang <haikun.wang at freescale.com>
>
> Missing commit message. Doesn't this mean it will always do the verify?
>
>> ---
>> drivers/mtd/spi/sf_dataflash.c | 2 --
>> 1 file changed, 2 deletions(-)
>>
>> diff --git a/drivers/mtd/spi/sf_dataflash.c b/drivers/mtd/spi/sf_dataflash.c
>> index 8f91527..6bf628b 100644
>> --- a/drivers/mtd/spi/sf_dataflash.c
>> +++ b/drivers/mtd/spi/sf_dataflash.c
>> @@ -371,7 +371,6 @@ int spi_dataflash_write(struct udevice *dev, u32 offset, size_t len,
>> goto release_bus;
>> }
>>
>> -#ifdef CONFIG_SPI_DATAFLASH_WRITE_VERIFY
>> /* (3) Compare to Buffer1 */
>> addr = pageaddr << dataflash->page_offset;
>> command[0] = OP_COMPARE_BUF1;
>> @@ -404,7 +403,6 @@ int spi_dataflash_write(struct udevice *dev, u32 offset, size_t len,
>> status = 0;
>> }
>>
>> -#endif /* CONFIG_SPI_DATAFLASH_WRITE_VERIFY */
>> remaining = remaining - writelen;
>> pageaddr++;
>> to = 0;
>> --
>> 2.1.0.27.g96db324
>>
>
> Regards,
> Simon
>
Update my email address.
More information about the U-Boot
mailing list