boards: ls1028a: Add support of I2C driver model
authorChuanhua Han <chuanhua.han@nxp.com>
Wed, 10 Jul 2019 13:16:49 +0000 (21:16 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:35 +0000 (09:07 +0530)
commit954cd7882857c64158de8d90660f490b0b136b7a
tree9887181dcd9fe12c668cd4f71ae4a84480385c12
parent7abf9c16aa5f153903914620dc3062fa3bddef65
boards: ls1028a: 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 ls1028a platform
does not support dm.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: Alex Marginean <alexm.osslist@gmail.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
board/freescale/ls1028a/ls1028a.c
include/configs/ls1028a_common.h
include/configs/ls1028ardb.h