diff options
author | Trommel, Kees (Contractor) <kees.trommel.contractor@draeger.com> | 2020-08-03 14:49:47 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2020-08-25 06:25:42 +0200 |
commit | 660606091f12320210cb7ced018788b8028aab5f (patch) | |
tree | be2045f2edfb8db1fe995ae1802422294671e5ec /drivers/i2c/Makefile | |
parent | af03bde0fa69c5287854b12badafc75b92dc84c3 (diff) | |
download | u-boot-660606091f12320210cb7ced018788b8028aab5f.tar.gz |
Link failure with CONFIG_SPL and CONFIG_I2C_MUX_PCA954x
Fix for the case of a U-Boot configuration with CONFIG_SPL,
CONFIG_I2C_MUX, CONFIG_I2C_MUX_PCA954x, no CONFIG_SPL_DM and no
CONFIG_SPL_I2C_MUX. Without this fix linking of pca954x fails because
dm_write_i2c does not exist because CONFIG_SPL_DM is not defined.
Signed-off-by: Kees Trommel <kees.trommel.contractor@draeger.com>
Cc: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/i2c/Makefile')
-rw-r--r-- | drivers/i2c/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile index e851ec462e..f7b2786448 100644 --- a/drivers/i2c/Makefile +++ b/drivers/i2c/Makefile @@ -46,4 +46,4 @@ obj-$(CONFIG_SYS_I2C_VERSATILE) += i2c-versatile.o obj-$(CONFIG_SYS_I2C_XILINX_XIIC) += xilinx_xiic.o obj-$(CONFIG_TEGRA186_BPMP_I2C) += tegra186_bpmp_i2c.o -obj-$(CONFIG_I2C_MUX) += muxes/ +obj-$(CONFIG_$(SPL_)I2C_MUX) += muxes/ |