From 94aed8d615be092143e838a4c3bf8895438d7235 Mon Sep 17 00:00:00 2001 From: Bora Guvendik Date: Fri, 3 Nov 2017 12:40:25 -0700 Subject: soc/intel/apollolake: add ability to enable eSPI Add config option to enable eSPI TEST=Boot to OS Change-Id: Ib4634690fe4fdb902fc0bc074a3b66b91921ddd5 Signed-off-by: Bora Guvendik Reviewed-on: https://review.coreboot.org/22320 Reviewed-by: Aaron Durbin Reviewed-by: Hannah Williams Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/soc/intel/apollolake/lpc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/soc/intel/apollolake/lpc.c') diff --git a/src/soc/intel/apollolake/lpc.c b/src/soc/intel/apollolake/lpc.c index 8abf3eb9cd..95b8bf5fb7 100644 --- a/src/soc/intel/apollolake/lpc.c +++ b/src/soc/intel/apollolake/lpc.c @@ -45,6 +45,7 @@ const struct lpc_mmio_range *soc_get_fixed_mmio_ranges(void) static const struct pad_config lpc_gpios[] = { #if IS_ENABLED(CONFIG_SOC_INTEL_GLK) +#if !IS_ENABLED(CONFIG_SOC_ESPI) PAD_CFG_NF(GPIO_147, UP_20K, DEEP, NF1), /* LPC_ILB_SERIRQ */ PAD_CFG_NF_IOSSTATE_IOSTERM(GPIO_148, UP_20K, DEEP, NF1, HIZCRx1, DISPUPD), /* LPC_CLKOUT0 */ @@ -62,6 +63,7 @@ static const struct pad_config lpc_gpios[] = { DISPUPD), /* LPC_CLKRUNB */ PAD_CFG_NF_IOSSTATE_IOSTERM(GPIO_155, UP_20K, DEEP, NF1, HIZCRx1, DISPUPD), /* LPC_FRAMEB*/ +#endif /* !IS_ENABLED(CONFIG_SOC_ESPI) */ #else PAD_CFG_NF(LPC_ILB_SERIRQ, UP_20K, DEEP, NF1), PAD_CFG_NF(LPC_CLKRUNB, UP_20K, DEEP, NF1), -- cgit v1.2.3