0003-purged-chips.patch 10.0 KB

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