UPSTREAM: sfdp: drop redundant check of the mandatory table size

BUG=none
BRANCH=none
TEST=none

Original-Change-Id: I464856612a6d21c682f1d9ad5110fa11a0a276c2
Original-Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/61379
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Original-(cherry picked from commit 5af39c14edb2812e1d3b1aac82e342290d319869)

Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Change-Id: I464856612a6d21c682f1d9ad5110fa11a0a27600
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/3419377
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
1 file changed
tree: 1eb6110d92d0cf828c102fd3e93f533089014809
  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. meson.build
  92. meson_options.txt
  93. mstarddc_spi.c
  94. ni845x_spi.c
  95. nic3com.c
  96. nicintel.c
  97. nicintel_eeprom.c
  98. nicintel_spi.c
  99. nicnatsemi.c
  100. nicrealtek.c
  101. ogp_spi.c
  102. opaque.c
  103. OWNERS
  104. pcidev.c
  105. pickit2_spi.c
  106. pony_spi.c
  107. PRESUBMIT.cfg
  108. print.c
  109. print_wiki.c
  110. processor_enable.c
  111. programmer.c
  112. programmer.h
  113. programmer_table.c
  114. raiden_debug_spi.c
  115. rayer_spi.c
  116. README
  117. README.chromiumos
  118. realtek_mst_i2c_spi.c
  119. s25f.c
  120. satamv.c
  121. satasii.c
  122. sb600spi.c
  123. serial.c
  124. serprog.c
  125. sfdp.c
  126. spi.c
  127. spi.h
  128. spi25.c
  129. spi25_statusreg.c
  130. spi95.c
  131. sst28sf040.c
  132. sst49lfxxxc.c
  133. sst_fwhub.c
  134. stlinkv3_spi.c
  135. stm50.c
  136. udelay.c
  137. usb_device.c
  138. usb_device.h
  139. usbblaster_spi.c
  140. usbdev.c
  141. w29ee011.c
  142. w39.c
  143. wbsio_spi.c
  144. wp_statusreg.c
  145. writeprotect.c
  146. writeprotect.h