0ee7062e30
For devices with ChromeOS EC on SPI bus, use the standard SPI driver interface (see spi-generic.h) to exchange data. Note: Only EC protocol v3 is supported for SPI bus. Change-Id: Ia8dcdecd125a2bd7424d0c7560e046b6d6988a03 Signed-off-by: Hung-Te Lin <hungte@chromium.org> Reviewed-on: http://review.coreboot.org/3751 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
42 lines
875 B
Text
42 lines
875 B
Text
config EC_GOOGLE_CHROMEEC
|
|
bool
|
|
select SERIRQ_CONTINUOUS_MODE
|
|
help
|
|
Google's Chrome EC
|
|
|
|
config EC_GOOGLE_CHROMEEC_I2C
|
|
depends on EC_GOOGLE_CHROMEEC
|
|
bool
|
|
default n
|
|
help
|
|
Google's Chrome EC via I2C bus.
|
|
|
|
config EC_GOOGLE_CHROMEEC_I2C_BUS
|
|
depends on EC_GOOGLE_CHROMEEC_I2C
|
|
hex "I2C bus for Google's Chrome EC"
|
|
|
|
config EC_GOOGLE_CHROMEEC_I2C_CHIP
|
|
depends on EC_GOOGLE_CHROMEEC_I2C
|
|
hex
|
|
default 0x1e
|
|
|
|
config EC_GOOGLE_CHROMEEC_LPC
|
|
depends on EC_GOOGLE_CHROMEEC && ARCH_X86 # Needs Plug-and-play.
|
|
def_bool y
|
|
help
|
|
Google Chrome EC via LPC bus.
|
|
|
|
config EC_GOOGLE_CHROMEEC_SPI
|
|
depends on EC_GOOGLE_CHROMEEC
|
|
def_bool n
|
|
help
|
|
Google's Chrome EC via SPI bus.
|
|
|
|
config EC_GOOGLE_CHROMEEC_SPI_BUS
|
|
depends on EC_GOOGLE_CHROMEEC_SPI
|
|
hex "SPI bus for Google's Chrome EC"
|
|
|
|
config EC_GOOGLE_CHROMEEC_SPI_CHIP
|
|
depends on EC_GOOGLE_CHROMEEC_SPI
|
|
hex
|
|
default 0
|