UPSTREAM: tree: Change signature of extract_programmer_param_str()

Results can be reproduced with the following invocation;
```
 $ find -name '*.c' -exec sed -i 's/extract_programmer_param_str(/extract_programmer_param_str(NULL, /g' '{}' \;
```

This allows for a pointer to the actual programmer parameters
to be passed instead of a global.

(cherry picked from commit e316f1970d9c51ab167be0835a4cfbadf92e9653)

Original-Change-Id: I781a328fa280e0a9601050dd99a75af72c39c899
Original-Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/66654
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Felix Singer <felixsinger@posteo.net>
Original-Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
GitOrigin-RevId: e316f1970d9c51ab167be0835a4cfbadf92e9653
Change-Id: I0f8f1d4fff1d0545f9f5febf1351ed2c01741c2a
Signed-off-by: CopyBot <copybot.service@gmail.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/3876536
Commit-Queue: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
32 files changed
tree: aca23949f10d39b505375da568c36e4699ad88da
  1. .github/
  2. bindings/
  3. Documentation/
  4. include/
  5. Makefile.d/
  6. platform/
  7. tests/
  8. util/
  9. .gitattributes
  10. .gitignore
  11. 82802ab.c
  12. action_descriptor.c
  13. action_descriptor.h
  14. amd_imc.c
  15. at45db.c
  16. atahpt.c
  17. atapromise.c
  18. atavia.c
  19. big_lock.c
  20. big_lock.h
  21. bitbang_spi.c
  22. board_enable.c
  23. buspirate_spi.c
  24. cbtable.c
  25. ch341a_spi.c
  26. chipset_enable.c
  27. cli_classic.c
  28. cli_common.c
  29. cli_output.c
  30. COPYING
  31. cros_alias.c
  32. cros_ec.c
  33. cros_ec.h
  34. cros_ec_commands.h
  35. cros_ec_dev.c
  36. cros_ec_wp.c
  37. custom_baud.c
  38. custom_baud_linux.c
  39. dediprog.c
  40. developerbox_spi.c
  41. digilent_spi.c
  42. dmi.c
  43. Doxyfile
  44. drkaiser.c
  45. dummyflasher.c
  46. edi.c
  47. en29lv640b.c
  48. file_lock.c
  49. flashchips.c
  50. flashchips_crosbl.c
  51. flashrom.8.tmpl
  52. flashrom.c
  53. fmap.c
  54. ft2232_spi.c
  55. gfxnvidia.c
  56. helpers.c
  57. helpers_fileio.c
  58. hwaccess_physmap.c
  59. hwaccess_x86_io.c
  60. hwaccess_x86_msr.c
  61. i2c_helper_linux.c
  62. ich_descriptors.c
  63. ichspi.c
  64. internal.c
  65. ipc_lock.h
  66. it8212.c
  67. it87spi.c
  68. jedec.c
  69. jlink_spi.c
  70. layout.c
  71. libflashrom.c
  72. libflashrom.map
  73. linux_mtd.c
  74. linux_spi.c
  75. MAINTAINERS
  76. Makefile
  77. Makefile.include
  78. mcp6x_spi.c
  79. mediatek_i2c_spi.c
  80. meson.build
  81. meson_options.txt
  82. mstarddc_spi.c
  83. ni845x_spi.c
  84. nic3com.c
  85. nicintel.c
  86. nicintel_eeprom.c
  87. nicintel_spi.c
  88. nicnatsemi.c
  89. nicrealtek.c
  90. ogp_spi.c
  91. opaque.c
  92. opaque_statusreg.c
  93. OWNERS
  94. parade_lspcon.c
  95. parallel.c
  96. pcidev.c
  97. pickit2_spi.c
  98. pony_spi.c
  99. power.c
  100. power.h
  101. PRESUBMIT.cfg
  102. print.c
  103. print_wiki.c
  104. processor_enable.c
  105. programmer.c
  106. programmer_table.c
  107. raiden_debug_spi.c
  108. rayer_spi.c
  109. README
  110. README.chromiumos
  111. realtek_mst_i2c_spi.c
  112. s25f.c
  113. satamv.c
  114. satasii.c
  115. sb600spi.c
  116. serial.c
  117. serprog.c
  118. sfdp.c
  119. spi.c
  120. spi25.c
  121. spi25_statusreg.c
  122. spi95.c
  123. sst28sf040.c
  124. sst49lfxxxc.c
  125. sst_fwhub.c
  126. stlinkv3_spi.c
  127. stm50.c
  128. udelay.c
  129. unblocked_terms.txt
  130. usb_device.c
  131. usbblaster_spi.c
  132. usbdev.c
  133. w29ee011.c
  134. w39.c
  135. wbsio_spi.c
  136. writeprotect.c
  137. writeprotect_ranges.c