]> git.baikalelectronics.ru Git - uboot.git/commit
boards: lx2160a: Add support of I2C driver model
authorChuanhua Han <chuanhua.han@nxp.com>
Wed, 10 Jul 2019 13:00:20 +0000 (21:00 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:35 +0000 (09:07 +0530)
commitb34eba7b026e8deb847659997ca4852e96100756
tree3ef821bfef5ebc08e458eda17b3885e442ea133d
parentf540e14f125df5e2da18a20509fb142d7a6f9fc8
boards: lx2160a: Add support of I2C driver model

DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C
API when DM_I2C is used. When DM_I2C_COMPAT is not enabled for
compilation, a compilation error will be generated. This patch solves
the problem that the i2c-related api of the lx2160a platform does not
support dm.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
board/freescale/common/emc2305.c
board/freescale/common/qixis.c
board/freescale/common/sys_eeprom.c
board/freescale/common/vid.c
board/freescale/lx2160a/lx2160a.c
drivers/ddr/fsl/main.c