aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8/fsl-layerscape
diff options
context:
space:
mode:
authorBiwen Li <biwen.li@nxp.com>2020-02-05 22:02:17 +0800
committerPriyanka Jain <priyanka.jain@nxp.com>2020-03-30 08:12:13 +0530
commitbb1165f900088c796e254cc99c8f81d47e3d57c9 (patch)
treed2b7f39562aa8227b00601529a81b6848b0cd226 /arch/arm/cpu/armv8/fsl-layerscape
parentfefac937fbd87f380042501c63b874994b3dccee (diff)
downloadu-boot-bb1165f900088c796e254cc99c8f81d47e3d57c9.zip
u-boot-bb1165f900088c796e254cc99c8f81d47e3d57c9.tar.gz
u-boot-bb1165f900088c796e254cc99c8f81d47e3d57c9.tar.bz2
dm: arm64: ls1046a: add i2c DM support
This supports i2c DM and enables CONFIG_DM_I2C for SoC LS1046A Signed-off-by: Biwen Li <biwen.li@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'arch/arm/cpu/armv8/fsl-layerscape')
-rw-r--r--arch/arm/cpu/armv8/fsl-layerscape/Kconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index 760053e..b256391 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
+++ b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
@@ -107,11 +107,11 @@ config ARCH_LS1046A
select SYS_FSL_SRDS_2
select ARCH_EARLY_INIT_R
select BOARD_EARLY_INIT_F
- select SYS_I2C_MXC
- select SYS_I2C_MXC_I2C1
- select SYS_I2C_MXC_I2C2
- select SYS_I2C_MXC_I2C3
- select SYS_I2C_MXC_I2C4
+ select SYS_I2C_MXC if !DM_I2C
+ select SYS_I2C_MXC_I2C1 if !DM_I2C
+ select SYS_I2C_MXC_I2C2 if !DM_I2C
+ select SYS_I2C_MXC_I2C3 if !DM_I2C
+ select SYS_I2C_MXC_I2C4 if !DM_I2C
imply SCSI
imply SCSI_AHCI