Conditionally compile eSPI support

A board may use either the LPC bus or the eSPI bus. Only include eSPI
support for boards that use it.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford
2022-11-30 08:51:54 -07:00
committed by Jeremy Soller
parent 5e884cf413
commit d687df482a
21 changed files with 42 additions and 51 deletions

View File

@@ -7,7 +7,7 @@ EC=ite
CONFIG_EC_ITE_IT5570E=y
# Enable eSPI
CFLAGS+=-DEC_ESPI=1
CONFIG_BUS_ESPI=y
# Use S0ix
CFLAGS+=-DUSE_S0IX=1