From 6136a62b472f028329863e4f5adb9464d68deafa Mon Sep 17 00:00:00 2001 From: Abe Levkoy Date: Fri, 25 Oct 2019 16:36:38 -0600 Subject: eSPI: Configure SLP_S3, SLP_S4 separately Split the configuration option CONFIG_HOSTCMD_ESPI_VW_SLP_SIGNALS into separate options controlling SLP_S3 and SLP_S4. Allow volteer to configure SLP_S3 as a GPIO and SLP_S4 as an eSPI virtual wire. Cause a build error if virtual wires are configured, but eSPI is not. BUG=b:139553375,b:143288478 TEST=make buildall TEST=Build volteer with CONFIG_HOSTCMD_ESPI_VW_S4 defined but CONFIG_HOSTCMD_ESPI undefined; observe build error BRANCH=none Change-Id: I8c6737e2ccb1a77a882e5fa65c6eddb342209b61 Signed-off-by: Abe Levkoy Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1881758 Reviewed-by: Keith Short --- board/mchpevb1/board.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'board/mchpevb1') diff --git a/board/mchpevb1/board.h b/board/mchpevb1/board.h index f7fa01edf6..a2fdeca7f7 100644 --- a/board/mchpevb1/board.h +++ b/board/mchpevb1/board.h @@ -165,7 +165,8 @@ #define CONFIG_CHIPSET_RESET_HOOK #define CONFIG_HOSTCMD_ESPI -#define CONFIG_HOSTCMD_ESPI_VW_SLP_SIGNALS +#define CONFIG_HOSTCMD_ESPI_VW_SLP_S3 +#define CONFIG_HOSTCMD_ESPI_VW_SLP_S4 #define CONFIG_CLOCK_CRYSTAL #define CONFIG_EXTPOWER_GPIO -- cgit v1.2.1