From: Simon Glass Date: Fri, 22 Jan 2016 02:43:52 +0000 (-0700) Subject: cros_ec: Disable the Chrome OS EC in SPL X-Git-Tag: v2016.03-rc1~208 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d7248c42f153163d8e427649f5f47cc65cb41691;p=u-boot cros_ec: Disable the Chrome OS EC in SPL This is not used in SPL so don't allow it to be built there, even if I2C is enabled in SPL. Signed-off-by: Simon Glass --- diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index fc8eb6f785..cd4846b4a8 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -10,11 +10,13 @@ obj-$(CONFIG_ALI152X) += ali512x.o obj-$(CONFIG_ALTERA_SYSID) += altera_sysid.o obj-$(CONFIG_DS4510) += ds4510.o obj-$(CONFIG_CBMEM_CONSOLE) += cbmem_console.o +ifndef CONFIG_SPL_BUILD obj-$(CONFIG_CROS_EC) += cros_ec.o obj-$(CONFIG_CROS_EC_LPC) += cros_ec_lpc.o obj-$(CONFIG_CROS_EC_I2C) += cros_ec_i2c.o obj-$(CONFIG_CROS_EC_SANDBOX) += cros_ec_sandbox.o obj-$(CONFIG_CROS_EC_SPI) += cros_ec_spi.o +endif obj-$(CONFIG_FSL_DEBUG_SERVER) += fsl_debug_server.o obj-$(CONFIG_FSL_IIM) += fsl_iim.o obj-$(CONFIG_GPIO_LED) += gpio_led.o