coreboot/src/drivers
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/agesa AGESA_LEGACY: Apply final cleanup and file removals 2018-01-23 05:33:30 +00:00
ams include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
aspeed
ati/ragexl
dec/21143
elog elog: Support logging S0ix sleep/wake info in elog 2017-10-19 00:42:49 +00:00
emulation/qemu
generic device: acpi_name() should take a const struct device 2017-09-14 14:34:27 +00:00
gic
i2c drivers/i2c/designware: reduce API complication for bus config 2018-01-25 22:36:30 +00:00
intel intel: Prepare registers so Windows drivers are happier 2018-01-29 09:41:35 +00:00
ipmi
lenovo drvs/lenovo/hybrid_graphics/romstage: Fix dGPU activation 2017-12-20 16:52:06 +00:00
maxim include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
mrc_cache drivers/mrc_cache: Always generate an FMAP region 2018-01-20 16:11:44 +00:00
net drivers/net: Add device index for multiple NIC cards 2018-01-22 23:04:34 +00:00
parade include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
pc80 security/tpm: Change TPM naming for different layers. 2018-01-18 01:45:35 +00:00
ricoh/rce822
siemens/nc_fpga src: Fix all Siemens copyrights 2017-11-07 12:33:51 +00:00
sil/3114
spi drivers/spi: support cmd opcode deduction for spi_crop_chunk() 2018-01-30 05:37:47 +00:00
ti include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
uart drivers/uart8250mem: Check for zero base address 2017-10-16 00:12:35 +00:00
usb drivers/usb/Kconfig: remove USBDEBUG_DONGLE_BEAGLEBONE_BLACK 2017-09-28 01:32:49 +00:00
xgi
xpowers/axp209 include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00