[PATCH] pxm2: switch to DM_I2C

Anatolij Gustschin agust at denx.de
Sat Jul 20 18:54:39 CEST 2024


Enable DM_I2C to avoid board removal warning.

Signed-off-by: Anatolij Gustschin <agust at denx.de>
Cc: Enrico Leto <enrico.leto at siemens.com>
---
 configs/pxm2_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configs/pxm2_defconfig b/configs/pxm2_defconfig
index 366d8fc3ae..c2f869391d 100644
--- a/configs/pxm2_defconfig
+++ b/configs/pxm2_defconfig
@@ -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
-- 
2.25.1



More information about the U-Boot mailing list