coreboot-kgpe-d16/src/soc/intel/quark
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
..
bootblock soc/intel/quark: Fix errors detected by checkpatch 2017-03-07 18:31:04 +01:00
include/soc Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
romstage soc/intel/quark: Add SD/MMC test support 2017-05-08 19:13:35 +02:00
acpi.c soc/intel/quark: Clean up debug output levels 2016-08-05 01:55:17 +02:00
chip.c romstage_handoff: add helper to determine resume status 2016-12-01 08:16:27 +01:00
chip.h soc/intel/quark: Fix errors detected by checkpatch 2017-03-07 18:31:04 +01:00
ehci.c soc/intel/quark: Add USB device port support 2016-05-25 00:17:34 +02:00
fsp1_1.c soc/intel/quark: Pass S3 wake status to fsp_silicon_init 2017-03-14 23:54:54 +01:00
fsp2_0.c soc/intel/quark: Fix FSP 2.0 build 2016-09-30 01:16:51 +02:00
gpio_i2c.c include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
i2c.c include/device: Split i2c.h into three 2017-08-18 15:33:29 +00:00
Kconfig soc/intel/quark: Add I2C debugging 2017-07-03 23:30:50 +00:00
lpc.c soc/intel/quark: Fix errors detected by checkpatch 2017-03-07 18:31:04 +01:00
Makefile.inc soc/intel/quark: Add legacy SPI flash controller driver 2017-06-20 18:11:07 +02:00
memmap.c soc/intel/quark: Return NULL for top_of_memory 2017-03-14 23:54:11 +01:00
northcluster.c soc/intel/quark: Reserve non-MMIO space 2016-02-29 05:00:27 +01:00
reg_access.c soc/intel/quark: Move include of reg_access.h 2017-04-19 20:54:06 +02:00
reset.c soc/intel/quark: Fix FSP 2.0 build 2016-09-30 01:16:51 +02:00
sd.c commonlib: Move drivers/storage into commonlib/storage 2017-05-12 18:20:33 +02:00
spi.c drivers/spi: support cmd opcode deduction for spi_crop_chunk() 2018-01-30 05:37:47 +00:00
spi_debug.c soc/intel/quark: Add legacy SPI flash controller driver 2017-06-20 18:11:07 +02:00
storage_test.c commonlib: Move drivers/storage into commonlib/storage 2017-05-12 18:20:33 +02:00
tsc_freq.c soc/intel/quark: Add monotonic timer support 2017-01-04 00:03:44 +01:00
uart.c soc/intel/quark: Use single ID value for HSUART1 2016-02-19 20:24:22 +01:00
uart_common.c soc/intel/quark: Enable HSUART1 2016-02-18 20:36:53 +01:00