]> git.dujemihanovic.xyz Git - u-boot.git/commit
Link failure with CONFIG_SPL and CONFIG_I2C_MUX_PCA954x
authorTrommel, Kees (Contractor) <kees.trommel.contractor@draeger.com>
Mon, 3 Aug 2020 14:49:47 +0000 (14:49 +0000)
committerHeiko Schocher <hs@denx.de>
Tue, 25 Aug 2020 04:25:42 +0000 (06:25 +0200)
commit660606091f12320210cb7ced018788b8028aab5f
treebe2045f2edfb8db1fe995ae1802422294671e5ec
parentaf03bde0fa69c5287854b12badafc75b92dc84c3
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>
drivers/i2c/Makefile
drivers/i2c/muxes/Makefile