purged_chips.diff 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. diff --git a/flashchips.c b/flashchips.c
  2. index c722a64..4124023 100644
  3. --- a/flashchips.c
  4. +++ b/flashchips.c
  5. @@ -7038,80 +7038,6 @@ const struct flashchip flashchips[] = {
  6. {
  7. .vendor = "Macronix",
  8. - .name = "MX25L1605",
  9. - .bustype = BUS_SPI,
  10. - .manufacture_id = MACRONIX_ID,
  11. - .model_id = MACRONIX_MX25L1605,
  12. - .total_size = 2048,
  13. - .page_size = 256,
  14. - .feature_bits = FEATURE_WRSR_WREN,
  15. - .tested = TEST_OK_PREW,
  16. - .probe = probe_spi_rdid,
  17. - .probe_timing = TIMING_ZERO,
  18. - .block_erasers =
  19. - {
  20. - {
  21. - .eraseblocks = { {64 * 1024, 32} },
  22. - .block_erase = spi_block_erase_20,
  23. - }, {
  24. - .eraseblocks = { {64 * 1024, 32} },
  25. - .block_erase = spi_block_erase_d8,
  26. - }, {
  27. - .eraseblocks = { {2 * 1024 * 1024, 1} },
  28. - .block_erase = spi_block_erase_60,
  29. - }, {
  30. - .eraseblocks = { {2 * 1024 * 1024, 1} },
  31. - .block_erase = spi_block_erase_c7,
  32. - },
  33. - },
  34. - .printlock = spi_prettyprint_status_register_bp2_srwd, /* bit6: error flag */
  35. - .unlock = spi_disable_blockprotect,
  36. - .write = spi_chip_write_256,
  37. - .read = spi_chip_read, /* Fast read (0x0B) supported */
  38. - .voltage = {2700, 3600},
  39. - },
  40. -
  41. - {
  42. - .vendor = "Macronix",
  43. - .name = "MX25L1605A/MX25L1606E/MX25L1608E",
  44. - .bustype = BUS_SPI,
  45. - .manufacture_id = MACRONIX_ID,
  46. - .model_id = MACRONIX_MX25L1605,
  47. - .total_size = 2048,
  48. - .page_size = 256,
  49. - /* OTP: 64B total; enter 0xB1, exit 0xC1 (MX25L1606E and MX25L1608E only) */
  50. - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
  51. - .tested = TEST_OK_PREW,
  52. - .probe = probe_spi_rdid,
  53. - .probe_timing = TIMING_ZERO,
  54. - .block_erasers =
  55. - {
  56. - {
  57. - .eraseblocks = { {4 * 1024, 512} },
  58. - .block_erase = spi_block_erase_20,
  59. - }, {
  60. - .eraseblocks = { {64 * 1024, 32} },
  61. - .block_erase = spi_block_erase_52,
  62. - }, {
  63. - .eraseblocks = { {64 * 1024, 32} },
  64. - .block_erase = spi_block_erase_d8,
  65. - }, {
  66. - .eraseblocks = { {2 * 1024 * 1024, 1} },
  67. - .block_erase = spi_block_erase_60,
  68. - }, {
  69. - .eraseblocks = { {2 * 1024 * 1024, 1} },
  70. - .block_erase = spi_block_erase_c7,
  71. - },
  72. - },
  73. - .printlock = spi_prettyprint_status_register_bp3_srwd, /* MX25L1605A bp2 only */
  74. - .unlock = spi_disable_blockprotect_bp3_srwd,
  75. - .write = spi_chip_write_256,
  76. - .read = spi_chip_read, /* Fast read (0x0B) supported (MX25L1608E supports dual-I/O read) */
  77. - .voltage = {2700, 3600},
  78. - },
  79. -
  80. - {
  81. - .vendor = "Macronix",
  82. .name = "MX25L1605D/MX25L1608D/MX25L1673E",
  83. .bustype = BUS_SPI,
  84. .manufacture_id = MACRONIX_ID,
  85. @@ -7219,41 +7145,6 @@ const struct flashchip flashchips[] = {
  86. {
  87. .vendor = "Macronix",
  88. - .name = "MX25L3205(A)",
  89. - .bustype = BUS_SPI,
  90. - .manufacture_id = MACRONIX_ID,
  91. - .model_id = MACRONIX_MX25L3205,
  92. - .total_size = 4096,
  93. - .page_size = 256,
  94. - .feature_bits = FEATURE_WRSR_WREN,
  95. - .tested = TEST_OK_PREW,
  96. - .probe = probe_spi_rdid,
  97. - .probe_timing = TIMING_ZERO,
  98. - .block_erasers =
  99. - {
  100. - {
  101. - .eraseblocks = { {64 * 1024, 64} },
  102. - .block_erase = spi_block_erase_20,
  103. - }, {
  104. - .eraseblocks = { {64 * 1024, 64} },
  105. - .block_erase = spi_block_erase_d8,
  106. - }, {
  107. - .eraseblocks = { {4 * 1024 * 1024, 1} },
  108. - .block_erase = spi_block_erase_60,
  109. - }, {
  110. - .eraseblocks = { {4 * 1024 * 1024, 1} },
  111. - .block_erase = spi_block_erase_c7,
  112. - },
  113. - },
  114. - .printlock = spi_prettyprint_status_register_bp2_srwd, /* bit6: error flag */
  115. - .unlock = spi_disable_blockprotect,
  116. - .write = spi_chip_write_256,
  117. - .read = spi_chip_read, /* Fast read (0x0B) supported */
  118. - .voltage = {2700, 3600},
  119. - },
  120. -
  121. - {
  122. - .vendor = "Macronix",
  123. .name = "MX25L3205D/MX25L3208D",
  124. .bustype = BUS_SPI,
  125. .manufacture_id = MACRONIX_ID,
  126. @@ -7290,84 +7181,6 @@ const struct flashchip flashchips[] = {
  127. {
  128. .vendor = "Macronix",
  129. - .name = "MX25L3206E/MX25L3208E",
  130. - .bustype = BUS_SPI,
  131. - .manufacture_id = MACRONIX_ID,
  132. - .model_id = MACRONIX_MX25L3205,
  133. - .total_size = 4096,
  134. - .page_size = 256,
  135. - /* OTP: 64B total; enter 0xB1, exit 0xC1 */
  136. - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
  137. - .tested = TEST_OK_PREW,
  138. - .probe = probe_spi_rdid,
  139. - .probe_timing = TIMING_ZERO,
  140. - .block_erasers =
  141. - {
  142. - {
  143. - .eraseblocks = { {4 * 1024, 1024} },
  144. - .block_erase = spi_block_erase_20,
  145. - }, {
  146. - .eraseblocks = { {64 * 1024, 64} },
  147. - .block_erase = spi_block_erase_d8,
  148. - }, {
  149. - .eraseblocks = { {64 * 1024, 64} },
  150. - .block_erase = spi_block_erase_52,
  151. - }, {
  152. - .eraseblocks = { {4 * 1024 * 1024, 1} },
  153. - .block_erase = spi_block_erase_60,
  154. - }, {
  155. - .eraseblocks = { {4 * 1024 * 1024, 1} },
  156. - .block_erase = spi_block_erase_c7,
  157. - },
  158. - },
  159. - .printlock = spi_prettyprint_status_register_bp3_srwd,
  160. - .unlock = spi_disable_blockprotect_bp3_srwd,
  161. - .write = spi_chip_write_256,
  162. - .read = spi_chip_read, /* Fast read (0x0B) and dual I/O supported */
  163. - .voltage = {2700, 3600},
  164. - },
  165. -
  166. - {
  167. - .vendor = "Macronix",
  168. - .name = "MX25L3273E",
  169. - .bustype = BUS_SPI,
  170. - .manufacture_id = MACRONIX_ID,
  171. - .model_id = MACRONIX_MX25L3205,
  172. - .total_size = 4096,
  173. - .page_size = 256,
  174. - /* OTP: 64B total; enter 0xB1, exit 0xC1 */
  175. - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
  176. - .tested = TEST_UNTESTED,
  177. - .probe = probe_spi_rdid,
  178. - .probe_timing = TIMING_ZERO,
  179. - .block_erasers =
  180. - {
  181. - {
  182. - .eraseblocks = { {4 * 1024, 1024} },
  183. - .block_erase = spi_block_erase_20,
  184. - }, {
  185. - .eraseblocks = { {32 * 1024, 128} },
  186. - .block_erase = spi_block_erase_52,
  187. - }, {
  188. - .eraseblocks = { {64 * 1024, 64} },
  189. - .block_erase = spi_block_erase_d8,
  190. - }, {
  191. - .eraseblocks = { {4 * 1024 * 1024, 1} },
  192. - .block_erase = spi_block_erase_60,
  193. - }, {
  194. - .eraseblocks = { {4 * 1024 * 1024, 1} },
  195. - .block_erase = spi_block_erase_c7,
  196. - },
  197. - },
  198. - .printlock = spi_prettyprint_status_register_bp3_srwd,
  199. - .unlock = spi_disable_blockprotect_bp3_srwd,
  200. - .write = spi_chip_write_256,
  201. - .read = spi_chip_read, /* Fast read (0x0B) and dual I/O supported */
  202. - .voltage = {2700, 3600},
  203. - },
  204. -
  205. - {
  206. - .vendor = "Macronix",
  207. .name = "MX25L3235D",
  208. .bustype = BUS_SPI,
  209. .manufacture_id = MACRONIX_ID,
  210. @@ -7404,42 +7217,6 @@ const struct flashchip flashchips[] = {
  211. {
  212. .vendor = "Macronix",
  213. - .name = "MX25L6405",
  214. - .bustype = BUS_SPI,
  215. - .manufacture_id = MACRONIX_ID,
  216. - .model_id = MACRONIX_MX25L6405,
  217. - .total_size = 8192,
  218. - .page_size = 256,
  219. - /* Has an additional 512B EEPROM sector */
  220. - .feature_bits = FEATURE_WRSR_WREN,
  221. - .tested = TEST_OK_PREW,
  222. - .probe = probe_spi_rdid,
  223. - .probe_timing = TIMING_ZERO,
  224. - .block_erasers =
  225. - {
  226. - {
  227. - .eraseblocks = { {64 * 1024, 128} },
  228. - .block_erase = spi_block_erase_20,
  229. - }, {
  230. - .eraseblocks = { {64 * 1024, 128} },
  231. - .block_erase = spi_block_erase_d8,
  232. - }, {
  233. - .eraseblocks = { {8 * 1024 * 1024, 1} },
  234. - .block_erase = spi_block_erase_60,
  235. - }, {
  236. - .eraseblocks = { {8 * 1024 * 1024, 1} },
  237. - .block_erase = spi_block_erase_c7,
  238. - }
  239. - },
  240. - .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6: error flag */
  241. - .unlock = spi_disable_blockprotect_bp3_srwd,
  242. - .write = spi_chip_write_256,
  243. - .read = spi_chip_read, /* Fast read (0x0B) supported */
  244. - .voltage = {2700, 3600},
  245. - },
  246. -
  247. - {
  248. - .vendor = "Macronix",
  249. .name = "MX25L6405D",
  250. .bustype = BUS_SPI,
  251. .manufacture_id = MACRONIX_ID,
  252. @@ -7476,86 +7253,6 @@ const struct flashchip flashchips[] = {
  253. {
  254. .vendor = "Macronix",
  255. - .name = "MX25L6406E/MX25L6408E",
  256. - .bustype = BUS_SPI,
  257. - .manufacture_id = MACRONIX_ID,
  258. - .model_id = MACRONIX_MX25L6405,
  259. - .total_size = 8192,
  260. - .page_size = 256,
  261. - /* MX25L6406E supports SFDP */
  262. - /* OTP: 06E 64B total; enter 0xB1, exit 0xC1 */
  263. - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
  264. - .tested = TEST_OK_PREW,
  265. - .probe = probe_spi_rdid,
  266. - .probe_timing = TIMING_ZERO,
  267. - .block_erasers =
  268. - {
  269. - {
  270. - .eraseblocks = { {4 * 1024, 2048} },
  271. - .block_erase = spi_block_erase_20,
  272. - }, {
  273. - .eraseblocks = { {64 * 1024, 128} },
  274. - .block_erase = spi_block_erase_52,
  275. - }, {
  276. - .eraseblocks = { {64 * 1024, 128} },
  277. - .block_erase = spi_block_erase_d8,
  278. - }, {
  279. - .eraseblocks = { {8 * 1024 * 1024, 1} },
  280. - .block_erase = spi_block_erase_60,
  281. - }, {
  282. - .eraseblocks = { {8 * 1024 * 1024, 1} },
  283. - .block_erase = spi_block_erase_c7,
  284. - }
  285. - },
  286. - .printlock = spi_prettyprint_status_register_bp3_srwd,
  287. - .unlock = spi_disable_blockprotect_bp3_srwd,
  288. - .write = spi_chip_write_256,
  289. - .read = spi_chip_read, /* Fast read (0x0B), dual I/O read supported */
  290. - .voltage = {2700, 3600},
  291. - },
  292. -
  293. - {
  294. - .vendor = "Macronix",
  295. - .name = "MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E",
  296. - .bustype = BUS_SPI,
  297. - .manufacture_id = MACRONIX_ID,
  298. - .model_id = MACRONIX_MX25L6405,
  299. - .total_size = 8192,
  300. - .page_size = 256,
  301. - /* supports SFDP */
  302. - /* OTP: 512B total; enter 0xB1, exit 0xC1 */
  303. - .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
  304. - .tested = TEST_OK_PREW,
  305. - .probe = probe_spi_rdid,
  306. - .probe_timing = TIMING_ZERO,
  307. - .block_erasers =
  308. - {
  309. - {
  310. - .eraseblocks = { {4 * 1024, 2048} },
  311. - .block_erase = spi_block_erase_20,
  312. - }, {
  313. - .eraseblocks = { {32 * 1024, 256} },
  314. - .block_erase = spi_block_erase_52,
  315. - }, {
  316. - .eraseblocks = { {64 * 1024, 128} },
  317. - .block_erase = spi_block_erase_d8,
  318. - }, {
  319. - .eraseblocks = { {8 * 1024 * 1024, 1} },
  320. - .block_erase = spi_block_erase_60,
  321. - }, {
  322. - .eraseblocks = { {8 * 1024 * 1024, 1} },
  323. - .block_erase = spi_block_erase_c7,
  324. - }
  325. - },
  326. - .printlock = spi_prettyprint_status_register_bp3_srwd, /* bit6 is quad enable */
  327. - .unlock = spi_disable_blockprotect_bp3_srwd,
  328. - .write = spi_chip_write_256,
  329. - .read = spi_chip_read, /* Fast read (0x0B) and multi I/O supported */
  330. - .voltage = {2700, 3600},
  331. - },
  332. -
  333. - {
  334. - .vendor = "Macronix",
  335. .name = "MX25L12805D",
  336. .bustype = BUS_SPI,
  337. .manufacture_id = MACRONIX_ID,