eSPI PUT_IOWR_SHORT protocol can send 1/2/4 bytes of data in a single transaction. This allows the host to send max 32-bits Port80 code at one time. This CL sets bits OFS0_SEL~OFS3_SEL in the DPAR1 register to let the EC hardware put the full Port80 code to DP80BUF FIFO. It also groups the N-byte code into a single 32-bits variable when necessary by analyzing the offset field in the DP80BUF register. Signed-off-by: Jun Lin <CHLin56@nuvoton.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| espi_emul.c | ||
| espi_handlers.c | ||
| espi_it8xxx2.c | ||
| espi_mchp_xec_host_v2.c | ||
| espi_mchp_xec_v2.c | ||
| espi_mchp_xec_v2.h | ||
| espi_mchp_xec.c | ||
| espi_npcx.c | ||
| espi_saf_mchp_xec.c | ||
| espi_utils.h | ||
| host_subs_npcx.c | ||
| Kconfig | ||
| Kconfig.espi_emul | ||
| Kconfig.it8xxx2 | ||
| Kconfig.npcx | ||
| Kconfig.xec | ||
| Kconfig.xec_v2 | ||