1fcc9f3125
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> |
||
---|---|---|
.. | ||
bootblock | ||
include/soc | ||
romstage | ||
acpi.c | ||
chip.c | ||
chip.h | ||
ehci.c | ||
fsp1_1.c | ||
fsp2_0.c | ||
gpio_i2c.c | ||
i2c.c | ||
Kconfig | ||
lpc.c | ||
Makefile.inc | ||
memmap.c | ||
northcluster.c | ||
reg_access.c | ||
reset.c | ||
sd.c | ||
spi.c | ||
spi_debug.c | ||
storage_test.c | ||
tsc_freq.c | ||
uart.c | ||
uart_common.c |