coreboot/src/southbridge
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
..
amd drivers/spi: support cmd opcode deduction for spi_crop_chunk() 2018-01-30 05:37:47 +00:00
broadcom smbus: Fix a typo ("Set the device I'm talking too") 2017-09-27 16:38:18 +00:00
intel sb/intel/bd82x6x: Reduce function-disable mess 2018-01-23 05:25:41 +00:00
nvidia smbus: Fix a typo ("Set the device I'm talking too") 2017-09-27 16:38:18 +00:00
ricoh/rl5c476 Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
sis/sis966 smbus: Fix a typo ("Set the device I'm talking too") 2017-09-27 16:38:18 +00:00
ti southbridge/ti: Update license headers 2016-04-13 17:36:00 +02:00
via southbridge: Remove trailing space in dump_south() output 2017-11-03 23:54:41 +00:00