OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 114... Line 114...
114 +} 114 +}
115 + 115 +
116 /* Enable/disable 4-byte addressing mode. */ 116 /* Enable/disable 4-byte addressing mode. */
117 static inline int set_4byte(struct spi_nor *nor, const struct flash_info *info, 117 static inline int set_4byte(struct spi_nor *nor, const struct flash_info *info,
118 int enable) 118 int enable)
119 @@ -1634,27 +1710,10 @@ int spi_nor_scan(struct spi_nor *nor, co 119 @@ -1628,27 +1704,10 @@ int spi_nor_scan(struct spi_nor *nor, co
120 else if (mtd->size > 0x1000000) { 120 else if (mtd->size > 0x1000000) {
121 /* enable 4-byte addressing if the device exceeds 16MiB */ 121 /* enable 4-byte addressing if the device exceeds 16MiB */
122 nor->addr_width = 4; 122 nor->addr_width = 4;
123 - if (JEDEC_MFR(info) == SNOR_MFR_SPANSION) { 123 - if (JEDEC_MFR(info) == SNOR_MFR_SPANSION) {
124 - /* Dedicated 4-byte command set */ 124 - /* Dedicated 4-byte command set */