Skip to contentSkip to conversation

board: toradex: colibri-imx8x: Remove board_gpio_init

PATCH In review Hiago De Franco 2 participants 2 messages Mar 27, 2024 – Mar 30, 2024 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board: toradex: colibri-imx8x: Remove board_gpio_init

From: Hiago De Franco <[email protected]>

On Colibri iMX8X, the gpio initialization and usage should be handled by the device tree, not by the colibri-imx8x.c code. Therefore, remove it.

---
 board/toradex/colibri-imx8x/colibri-imx8x.c | 11 -----------
 1 file changed, 11 deletions(-)
board/toradex/colibri-imx8x/colibri-imx8x.c +0 -11
index 6fc8076163c6..1474297e1814 100644
@@ -93,15 +93,6 @@ int board_early_init_f(void)
 	return 0;
 }
 
-#if IS_ENABLED(CONFIG_DM_GPIO)
-static void board_gpio_init(void)
-{
-	/* TODO */
-}
-#else
-static inline void board_gpio_init(void) {}
-#endif
-
 #if IS_ENABLED(CONFIG_FEC_MXC)
 #include <miiphy.h>
 
@@ -128,8 +119,6 @@ static void select_dt_from_module_version(void)
 
 int board_init(void)
 {
-	board_gpio_init();
-
 	if (IS_ENABLED(CONFIG_IMX_SNVS_SEC_SC_AUTO)) {
 		int ret = snvs_security_sc_init();
 
Signature · 1 line
2.39.2