diff --git a/src/ec/google/chromeec/Kconfig b/src/ec/google/chromeec/Kconfig index c3f04997de..773f294b02 100644 --- a/src/ec/google/chromeec/Kconfig +++ b/src/ec/google/chromeec/Kconfig @@ -3,13 +3,6 @@ config EC_GOOGLE_CHROMEEC 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 diff --git a/src/ec/google/chromeec/Makefile.inc b/src/ec/google/chromeec/Makefile.inc index 5bc9268067..922c1fe355 100644 --- a/src/ec/google/chromeec/Makefile.inc +++ b/src/ec/google/chromeec/Makefile.inc @@ -7,5 +7,3 @@ smm-$(CONFIG_EC_GOOGLE_CHROMEEC_LPC) += ec_lpc.c romstage-y += ec.c romstage-$(CONFIG_EC_GOOGLE_CHROMEEC_I2C) += ec_i2c.c romstage-$(CONFIG_EC_GOOGLE_CHROMEEC_LPC) += ec_lpc.c - -CFLAGS += -I $(call strip_quotes,$(CONFIG_EC_GOOGLE_API_ROOT))