3f9d24e4c0
The original SHI module only has one output FIFO buffer. It costs a lot when the driver has to send/change the protocol control code because it must fill out all 128 bytes of output FIFO. In npcx4, we introduce another output buffer in 1-byte depth. These two buffers can switch back and forth during the transaction. We can use the single-byte buffer to send the control code and the 128-byte FIFO to send the data payload. It helps improve the SHI driver's efficiency. Signed-off-by: Jun Lin <CHLin56@nuvoton.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
ec_host_cmd_backend_espi.c | ||
ec_host_cmd_backend_shi.h | ||
ec_host_cmd_backend_shi_ite.c | ||
ec_host_cmd_backend_shi_npcx.c | ||
ec_host_cmd_backend_simulator.c | ||
ec_host_cmd_backend_spi_stm32.c | ||
ec_host_cmd_backend_uart.c |