From 00304fbe2da077ca615ab8fd79e7addffdf8dc4a Mon Sep 17 00:00:00 2001 From: Jose Alberto Meza Date: Thu, 27 Aug 2020 14:29:31 -0700 Subject: [PATCH] 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 --- drivers/espi/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/espi/Kconfig b/drivers/espi/Kconfig index 5502dfb0c38..65107f1c8aa 100644 --- a/drivers/espi/Kconfig +++ b/drivers/espi/Kconfig @@ -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