[RFC PATCH 15/23] sunxi: Remove non-DM I2C clock/pin setup from U-Boot

Samuel Holland samuel at sholland.org
Thu Oct 21 06:55:32 CEST 2021


This is now handled automatically by the clock and pinctrl drivers.

SPL still calls this function because it needes the non-DM code.

Signed-off-by: Samuel Holland <samuel at sholland.org>
---

 board/sunxi/board.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index d7e0982557..d1fc95dfb2 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -204,14 +204,6 @@ int board_init(void)
 		}
 	}
 
-#if CONFIG_IS_ENABLED(DM_I2C)
-	/*
-	 * Temporary workaround for enabling I2C clocks until proper sunxi DM
-	 * clk, reset and pinctrl drivers land.
-	 */
-	i2c_init_board();
-#endif
-
 #ifdef CONFIG_DM_MMC
 	/*
 	 * Temporary workaround for enabling MMC clocks until a sunxi DM
-- 
2.32.0



More information about the U-Boot mailing list