[CHROMIUM] ichspi: Add workaround to increase hwseq timeouts

Increase timeout for hwseq operations to 1 second.

BUG=b:215255210,b:217629892
BRANCH=brya
TEST=run stress-fpt and stress-fw-update in parallel, this causes
the CSE firmware and the host to both read and write to the flash
device concurrently, which should cause maximal contention and thus
maximal timeouts. The test passes over dozens of iterations, where
before it would have failed on each iteration (kano).

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