coreboot-kgpe-d16/src/soc/intel
Aaron Durbin 1fcc9f3125 drivers/spi: support cmd opcode deduction for spi_crop_chunk()
spi_crop_chunk() currently supports deducting the command length
when determining maximum payload size in a transaction. Add support
for deducting just the opcode part of the command by replacing
deduct_cmd_len field to generic flags field. The two enums supported
drive the logic within spi_crop_chunk():
  SPI_CNTRLR_DEDUCT_CMD_LEN
  SPI_CNTRLR_DEDUCT_OPCODE_LEN

All existing users of deduct_cmd_len were converted to using the
flags field.

BUG=b:65485690

Change-Id: I771fba684f0ed76ffdc8573aa10f775070edc691
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/23491
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-01-30 05:37:47 +00:00
..
apollolake intel: Prepare registers so Windows drivers are happier 2018-01-29 09:41:35 +00:00
baytrail security/tpm: Change TPM naming for different layers. 2018-01-18 01:45:35 +00:00
braswell intel: Prepare registers so Windows drivers are happier 2018-01-29 09:41:35 +00:00
broadwell security/tpm: Change TPM naming for different layers. 2018-01-18 01:45:35 +00:00
cannonlake soc/intel/cannonlake: Add Cannonlake D0 support in mpinit and report 2018-01-26 22:40:53 +00:00
common intel: Prepare registers so Windows drivers are happier 2018-01-29 09:41:35 +00:00
denverton_ns soc/intel/denverton_ns: Rename HARCUVAR macros to DENVERTON 2018-01-28 23:20:34 +00:00
fsp_baytrail soc/intel/fsp_baytrail: remove nvm headers and code 2017-12-17 18:29:08 +00:00
fsp_broadwell_de Constify struct cpu_device_id instances 2017-11-23 05:00:17 +00:00
quark drivers/spi: support cmd opcode deduction for spi_crop_chunk() 2018-01-30 05:37:47 +00:00
skylake intel: Prepare registers so Windows drivers are happier 2018-01-29 09:41:35 +00:00
Kconfig soc: Add Kconfig for each soc vendor 2017-10-23 17:18:32 +00:00