ec_host_cmd: add NPCX SHI peripheral for the host commands

This commit adds the support for host commands being transported
by the Serial Host Interface on the NPCX SoC.

Signed-off-by: Michał Barnaś <mb@semihalf.com>
This commit is contained in:
Michał Barnaś 2022-08-01 18:06:33 +02:00 committed by Carles Cufí
commit 3ae105e76b
9 changed files with 1264 additions and 0 deletions

View file

@ -21,6 +21,7 @@ config EC_HOST_CMD_HANDLER_STACK_SIZE
config EC_HOST_CMD_HANDLER_TX_BUFFER
int "Buffer size in bytes for TX buffer shared by all EC host commands"
default EC_HOST_CMD_PERIPH_SHI_MAX_RESPONSE if EC_HOST_CMD_PERIPH_SHI
default 256
config EC_HOST_CMD_HANDLER_PRIO