diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-21 19:43:53 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-21 20:42:35 -0700 |
commit | 4082fce92498a64e5e543ad53a1ed5a5c02a64d1 (patch) | |
tree | 5fb176a0f6356275bee8f82e1081b5d0fb8350fc /drivers/i2c/Makefile | |
parent | d7248c42f153163d8e427649f5f47cc65cb41691 (diff) | |
download | u-boot-4082fce92498a64e5e543ad53a1ed5a5c02a64d1.tar.gz u-boot-4082fce92498a64e5e543ad53a1ed5a5c02a64d1.tar.xz u-boot-4082fce92498a64e5e543ad53a1ed5a5c02a64d1.zip |
dm: i2c: Allow muxes to be enabled for SPL separately
Since I2C muxes are seldom needed in SPL, and the code for this increases
the size somewhat, add a separate option to enable I2C muxes for SPL.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/i2c/Makefile')
-rw-r--r-- | drivers/i2c/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile index 811ad9b72a..bbbc0dc59d 100644 --- a/drivers/i2c/Makefile +++ b/drivers/i2c/Makefile @@ -7,8 +7,8 @@ obj-$(CONFIG_DM_I2C) += i2c-uclass.o obj-$(CONFIG_DM_I2C_COMPAT) += i2c-uclass-compat.o obj-$(CONFIG_DM_I2C_GPIO) += i2c-gpio.o -obj-$(CONFIG_I2C_CROS_EC_TUNNEL) += cros_ec_tunnel.o -obj-$(CONFIG_I2C_CROS_EC_LDO) += cros_ec_ldo.o +obj-$(CONFIG_$(SPL_)I2C_CROS_EC_TUNNEL) += cros_ec_tunnel.o +obj-$(CONFIG_$(SPL_)I2C_CROS_EC_LDO) += cros_ec_ldo.o obj-$(CONFIG_SYS_I2C_ADI) += adi_i2c.o obj-$(CONFIG_I2C_MV) += mv_i2c.o |