flashchips.c: sync MX25L25635F unlock fn with upstream

According to the MX25L25635F datasheet, status register bit 7
controls SR write protection, so clearing it should
be cleared with spi_disable_blockprotect_bp3_srwd.

Syncs with upstream at
`commit 6cad608483924cd9c0c0c201ae69ee7e513a0f9e`

BUG=b:166294558
BRANCH=none
TEST=builds

Signed-off-by: Nikolai Artemiev <nartemiev@google.com>
Change-Id: Icffb0c8e0c9f095b91a110250d11b724581e04c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2696121
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
1 file changed
tree: 25adbd903725a239432fbfd34a0daf20e453e37b
  1. Documentation/
  2. util/
  3. .gitattributes
  4. .gitignore
  5. 82802ab.c
  6. action_descriptor.c
  7. action_descriptor.h
  8. amd_imc.c
  9. archtest.c
  10. at45db.c
  11. atahpt.c
  12. atapromise.c
  13. atavia.c
  14. big_lock.c
  15. big_lock.h
  16. bitbang_spi.c
  17. board_enable.c
  18. buspirate_spi.c
  19. cbtable.c
  20. ch341a_spi.c
  21. chipdrivers.h
  22. chipset_enable.c
  23. cli_classic.c
  24. cli_common.c
  25. cli_output.c
  26. COPYING
  27. coreboot_tables.h
  28. cros_alias.c
  29. cros_ec.c
  30. cros_ec.h
  31. cros_ec_commands.h
  32. cros_ec_dev.c
  33. custom_baud.c
  34. custom_baud.h
  35. dediprog.c
  36. developerbox_spi.c
  37. digilent_spi.c
  38. dmi.c
  39. drkaiser.c
  40. dummyflasher.c
  41. edi.c
  42. edi.h
  43. en29lv640b.c
  44. endiantest.c
  45. ene.h
  46. ene_lpc.c
  47. file.c
  48. file.h
  49. file_lock.c
  50. flash.h
  51. flashchips.c
  52. flashchips.h
  53. flashrom.8.tmpl
  54. flashrom.c
  55. fmap.c
  56. fmap.h
  57. ft2232_spi.c
  58. gfxnvidia.c
  59. helpers.c
  60. hwaccess.c
  61. hwaccess.h
  62. i2c_helper.h
  63. i2c_helper_linux.c
  64. ich_descriptors.c
  65. ich_descriptors.h
  66. ichspi.c
  67. internal.c
  68. ipc_lock.h
  69. it8212.c
  70. it85spi.c
  71. it87spi.c
  72. jedec.c
  73. jlink_spi.c
  74. layout.c
  75. layout.h
  76. libflashrom.c
  77. libflashrom.h
  78. libflashrom.map
  79. linux_mtd.c
  80. linux_spi.c
  81. lspcon_i2c_spi.c
  82. Makefile
  83. mcp6x_spi.c
  84. mec1308.c
  85. meson.build
  86. meson_options.txt
  87. mstarddc_spi.c
  88. ni845x_spi.c
  89. nic3com.c
  90. nicintel.c
  91. nicintel_eeprom.c
  92. nicintel_spi.c
  93. nicnatsemi.c
  94. nicrealtek.c
  95. ogp_spi.c
  96. opaque.c
  97. os.h
  98. OWNERS
  99. pcidev.c
  100. physmap.c
  101. pickit2_spi.c
  102. platform.h
  103. pony_spi.c
  104. power.c
  105. power.h
  106. PRESUBMIT.cfg
  107. print.c
  108. print_wiki.c
  109. processor_enable.c
  110. programmer.c
  111. programmer.h
  112. raiden_debug_spi.c
  113. rayer_spi.c
  114. README
  115. README.chromiumos
  116. realtek_mst_i2c_spi.c
  117. s25f.c
  118. satamv.c
  119. satasii.c
  120. sb600spi.c
  121. search.c
  122. search.h
  123. serial.c
  124. serprog.c
  125. serprog.h
  126. sfdp.c
  127. spi.c
  128. spi.h
  129. spi25.c
  130. spi25_statusreg.c
  131. spi95.c
  132. sst28sf040.c
  133. sst49lfxxxc.c
  134. sst_fwhub.c
  135. stlinkv3_spi.c
  136. stm50.c
  137. stm50flw0x0x.c
  138. udelay.c
  139. usb_device.c
  140. usb_device.h
  141. usbblaster_spi.c
  142. usbdev.c
  143. w29ee011.c
  144. w39.c
  145. wbsio_spi.c
  146. writeprotect.c
  147. writeprotect.h