mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-15 06:33:45 +09:00
![Simon Glass](/assets/img/avatar_default.png)
For boards which use multiple I2C devices, or for SOCs which support multiple boards, we might want to convert these to driver model at different times. At present this is difficult because we need to either use CONFIG_DM_I2C for a board or not. Add a compatibility layer which implements the old API, thus allowing a board to move to driver model for I2C without requiring that everything it uses is moved in the same commit. Signed-off-by: Simon Glass <sjg@chromium.org>
38 lines
1.4 KiB
Makefile
38 lines
1.4 KiB
Makefile
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
obj-$(CONFIG_DM_I2C) += i2c-uclass.o
|
|
obj-$(CONFIG_DM_I2C_COMPAT) += i2c-uclass-compat.o
|
|
|
|
obj-$(CONFIG_SYS_I2C_ADI) += adi_i2c.o
|
|
obj-$(CONFIG_I2C_MV) += mv_i2c.o
|
|
obj-$(CONFIG_PCA9564_I2C) += pca9564_i2c.o
|
|
obj-$(CONFIG_TSI108_I2C) += tsi108_i2c.o
|
|
obj-$(CONFIG_U8500_I2C) += u8500_i2c.o
|
|
obj-$(CONFIG_SH_SH7734_I2C) += sh_sh7734_i2c.o
|
|
obj-$(CONFIG_SYS_I2C) += i2c_core.o
|
|
obj-$(CONFIG_SYS_I2C_DAVINCI) += davinci_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_DW) += designware_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_FSL) += fsl_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_FTI2C010) += fti2c010.o
|
|
obj-$(CONFIG_SYS_I2C_IHS) += ihs_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_KONA) += kona_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_MVTWSI) += mvtwsi.o
|
|
obj-$(CONFIG_SYS_I2C_MXC) += mxc_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_MXS) += mxs_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_OMAP24XX) += omap24xx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_OMAP34XX) += omap24xx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_PPC4XX) += ppc4xx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_RCAR) += rcar_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_S3C24X0) += s3c24x0_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_SANDBOX) += sandbox_i2c.o i2c-emul-uclass.o
|
|
obj-$(CONFIG_SYS_I2C_SH) += sh_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_SOFT) += soft_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_TEGRA) += tegra_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_UNIPHIER) += i2c-uniphier.o
|
|
obj-$(CONFIG_SYS_I2C_UNIPHIER_F) += i2c-uniphier-f.o
|
|
obj-$(CONFIG_SYS_I2C_ZYNQ) += zynq_i2c.o
|