]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pxm2: switch to DM_I2C
authorAnatolij Gustschin <agust@denx.de>
Sat, 20 Jul 2024 16:54:39 +0000 (18:54 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 23 Jul 2024 16:40:46 +0000 (10:40 -0600)
Enable DM_I2C to avoid board removal warning.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Enrico Leto <enrico.leto@siemens.com>
configs/pxm2_defconfig

index 366d8fc3aea3d4a9b84740a66620993146432dda..c2f869391d7339471491df6577d8ead6ef1785b7 100644 (file)
@@ -89,7 +89,8 @@ CONFIG_BOOTCOUNT_LIMIT=y
 CONFIG_BOOTCOUNT_ENV=y
 CONFIG_DFU_NAND=y
 CONFIG_SYS_DFU_DATA_BUF_SIZE=0x100000
-CONFIG_SYS_I2C_LEGACY=y
+CONFIG_DM_I2C=y
+# CONFIG_SPL_DM_I2C is not set
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SYS_I2C_SPEED=400000
 # CONFIG_SPL_DM_MMC is not set