
Dear Mike Frysinger,
In message 1303750709-7976-1-git-send-email-vapier@gentoo.org you wrote:
Once we add a new page_size field for write lengths, we can unify the write methods for most of the spi flash drivers.
Signed-off-by: Mike Frysinger vapier@gentoo.org
v2
- push page program command into common code too since all spi flashes use the same one (0x02)
drivers/mtd/spi/eon.c | 66 +------------------------------ drivers/mtd/spi/macronix.c | 66 +------------------------------ drivers/mtd/spi/spansion.c | 66 +------------------------------ drivers/mtd/spi/spi_flash.c | 57 +++++++++++++++++++++++++++ drivers/mtd/spi/spi_flash_internal.h | 8 ++++ drivers/mtd/spi/stmicro.c | 66 +------------------------------ drivers/mtd/spi/winbond.c | 71 +-------------------------------- include/spi_flash.h | 5 ++- 8 files changed, 80 insertions(+), 325 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk