Files
OpenCellular/src/include
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
..
2015-04-22 08:50:54 +02:00
2017-03-13 17:23:37 +01:00
2017-09-05 17:24:46 +00:00
2017-03-09 17:16:09 +01:00
2016-12-13 19:15:22 +01:00
2016-07-31 18:30:16 +02:00
2017-10-20 22:49:27 +00:00
2016-07-15 08:35:15 +02:00
2012-05-08 00:36:09 +02:00
2016-07-01 23:55:16 +02:00
2017-06-07 12:09:15 +02:00
2017-09-26 16:50:11 +00:00
2016-12-08 16:10:28 +01:00
2017-03-07 00:43:20 +01:00
2017-03-13 17:23:37 +01:00
2017-03-09 17:19:16 +01:00
2017-11-07 12:33:51 +00:00
2017-08-18 15:33:45 +00:00