[flashrom] [PATCH 1/3] Factor out SPI write/read chunking wrappers.
Michael Karcher
flashrom at mkarcher.dialup.fu-berlin.de
Fri May 6 12:05:28 CEST 2011
Am Donnerstag, den 05.05.2011, 20:47 +0200 schrieb Carl-Daniel
Hailfinger:
> > int dummy_spi_write_256(struct flashchip *flash, uint8_t *buf, int start, int len)
> > {
> > return spi_write_chunked(flash, buf, start, len,
> >
>
> Any reason you didn't kill dummy_write_256()?
Yes, the reason is that the dummyflasher has a variable maximal chunk
size specified on the command line, so no constant value can do. Of
course patching the programmer structure instead and using the default
write function is an option.
Regards,
Michael Karcher
More information about the flashrom
mailing list