ChromeEC: Fix the default, depends for EC_GOOGLE_CHROMEEC_I2C.

The default for this variable should be n, it should only depend on
EC_GOOGLE_CHROMEEC, and it should be (and is) explicitly enabled when
needed. This prevents it from being turned on when the EC bus is SPI.

Change-Id: Idc6651a764be4f055341a36b9b4a58990f050b0c
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/3737
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Gabe Black 2013-07-09 13:15:05 -07:00 committed by Stefan Reinauer
parent 54d6abd276
commit 3fb30eeb14
1 changed files with 2 additions and 2 deletions

View File

@ -4,9 +4,9 @@ config EC_GOOGLE_CHROMEEC
Google's Chrome EC
config EC_GOOGLE_CHROMEEC_I2C
depends on EC_GOOGLE_CHROMEEC && !EC_GOOGLE_CHROMEEC_LPC
depends on EC_GOOGLE_CHROMEEC
bool
default y
default n
help
Google's Chrome EC via I2C bus.