Hi, On 2 July 2015 at 03:12, Haikun Wang <haikun.w...@freescale.com> wrote: > Signed-off-by: Haikun Wang <haikun.w...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot