projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: generic: update to 3.8-rc6
[openwrt.git]
/
target
/
linux
/
generic
/
patches-3.8
/
470-mtd_m25p80_add_pm25lv_flash_support.patch
diff --git
a/target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch
b/target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch
index
7af5e4b
..
16d92c3
100644
(file)
--- a/
target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch
+++ b/
target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch
@@
-16,7
+16,7
@@
};
#define INFO(_jedec_id, _ext_id, _sector_size, _n_sectors, _flags) \
};
#define INFO(_jedec_id, _ext_id, _sector_size, _n_sectors, _flags) \
-@@ -66
5,6 +667
,10 @@ static const struct spi_device_id m25p_i
+@@ -66
9,6 +671
,10 @@ static const struct spi_device_id m25p_i
{ "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
{ "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
{ "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
{ "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
@@
-27,7
+27,7
@@
/* Spansion -- single (large) sector size only, at least
* for the chips listed here (without boot sectors).
*/
/* Spansion -- single (large) sector size only, at least
* for the chips listed here (without boot sectors).
*/
-@@ -9
09,6 +915,9 @@ static int m25p_probe(struct spi_device
+@@ -9
13,6 +919,9 @@ static int m25p_probe(struct spi_device
if (info->flags & SECT_4K) {
flash->erase_opcode = OPCODE_BE_4K;
flash->mtd.erasesize = 4096;
if (info->flags & SECT_4K) {
flash->erase_opcode = OPCODE_BE_4K;
flash->mtd.erasesize = 4096;