summaryrefslogtreecommitdiff
path: root/drivers/i2c/muxes/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-21 19:43:53 -0700
committerSimon Glass <sjg@chromium.org>2016-01-21 20:42:35 -0700
commit4082fce92498a64e5e543ad53a1ed5a5c02a64d1 (patch)
tree5fb176a0f6356275bee8f82e1081b5d0fb8350fc /drivers/i2c/muxes/Makefile
parentd7248c42f153163d8e427649f5f47cc65cb41691 (diff)
downloadu-boot-imx-4082fce92498a64e5e543ad53a1ed5a5c02a64d1.zip
u-boot-imx-4082fce92498a64e5e543ad53a1ed5a5c02a64d1.tar.gz
u-boot-imx-4082fce92498a64e5e543ad53a1ed5a5c02a64d1.tar.bz2
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/muxes/Makefile')
-rw-r--r--drivers/i2c/muxes/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/muxes/Makefile b/drivers/i2c/muxes/Makefile
index 612cc27..47c1240 100644
--- a/drivers/i2c/muxes/Makefile
+++ b/drivers/i2c/muxes/Makefile
@@ -4,4 +4,4 @@
# SPDX-License-Identifier: GPL-2.0+
#
obj-$(CONFIG_I2C_ARB_GPIO_CHALLENGE) += i2c-arb-gpio-challenge.o
-obj-$(CONFIG_I2C_MUX) += i2c-mux-uclass.o
+obj-$(CONFIG_$(SPL_)I2C_MUX) += i2c-mux-uclass.o