drivers: espi: xec: support for eSPI slaves with long initializations

Add Kconfig switch to disable automatic eSPI slave boot
acknowledgement.
This allows to perform lenghty operations before continue any eSPI
handshake with eSPI master.

Required for eSPI SAF boot configuration.

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
This commit is contained in:
Jose Alberto Meza 2020-08-27 14:29:31 -07:00 committed by Anas Nashif
commit 00304fbe2d

View file

@ -54,7 +54,7 @@ config ESPI_AUTOMATIC_WARNING_ACKNOWLEDGE
depends on ESPI_VWIRE_CHANNEL
depends on ESPI_SLAVE
help
Enable automatic acknowledge from eSPI slave towards eSPI host
Enable automatic acknowledgent from eSPI slave towards eSPI host
whenever it receives suspend or reset warning.
If this is disabled, it means the app wants to be give the opportunity
to prepare for either HOST suspend or reset.
@ -65,7 +65,7 @@ config ESPI_AUTOMATIC_BOOT_DONE_ACKNOWLEDGE
depends on ESPI_VWIRE_CHANNEL
depends on ESPI_SLAVE
help
Enable automatic acknowledge of slave basic configuration been
Enable automatic acknowledgment from slave basic configuration been
completed by sending a virtual wire message to the eSPI master.
This depends on SPI boot configuration. It could be either very
early in the flow after the VW channel is configured. Or it could be