X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f1df0b7ca4032343eaf1567df037ec2dcef31dce..1a35b7c84e9494409a1c22920a7ae3e7cb65bae7:/target/linux/ar71xx/patches-2.6.37/111-mtd-cfi_cmdset_0002-force-word-write.patch diff --git a/target/linux/ar71xx/patches-2.6.37/111-mtd-cfi_cmdset_0002-force-word-write.patch b/target/linux/ar71xx/patches-2.6.37/111-mtd-cfi_cmdset_0002-force-word-write.patch index e9226e7a6..9dca6eabd 100644 --- a/target/linux/ar71xx/patches-2.6.37/111-mtd-cfi_cmdset_0002-force-word-write.patch +++ b/target/linux/ar71xx/patches-2.6.37/111-mtd-cfi_cmdset_0002-force-word-write.patch @@ -35,7 +35,7 @@ /* Atmel chips don't use the same PRI format as AMD chips */ static void fixup_convert_atmel_pri(struct mtd_info *mtd, void *param) -@@ -1383,6 +1387,7 @@ static int cfi_amdstd_write_words(struct +@@ -1391,6 +1395,7 @@ static int cfi_amdstd_write_words(struct /* * FIXME: interleaved mode not tested, and probably not supported! */ @@ -43,7 +43,7 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip, unsigned long adr, const u_char *buf, int len) -@@ -1493,7 +1498,6 @@ static int __xipram do_write_buffer(stru +@@ -1501,7 +1506,6 @@ static int __xipram do_write_buffer(stru return ret; } @@ -51,7 +51,7 @@ static int cfi_amdstd_write_buffers(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf) { -@@ -1572,6 +1576,7 @@ static int cfi_amdstd_write_buffers(stru +@@ -1580,6 +1584,7 @@ static int cfi_amdstd_write_buffers(stru return 0; }