summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/Kconfig
blob: c3f04997dec232ba1b83afb36ec24fcef53cec59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
config EC_GOOGLE_CHROMEEC
	bool
	help
	  Google's Chrome EC

config EC_GOOGLE_API_ROOT
       depends on EC_GOOGLE_CHROMEEC
       string "Path to the EC API include file"
       default "/usr/include"
       help
         Path to the ec API file (ec/ec_commands.h).

config EC_GOOGLE_CHROMEEC_I2C
	depends on EC_GOOGLE_CHROMEEC && !EC_GOOGLE_CHROMEEC_LPC
	bool
	default y
	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.
	bool
	default y
	help
	  Google Chrome EC via LPC bus.