summaryrefslogtreecommitdiff
path: root/board/toradex
diff options
context:
space:
mode:
authorHiago De Franco <hiago.franco@toradex.com>2024-03-27 09:45:50 -0300
committerFabio Estevam <festevam@gmail.com>2024-03-30 13:58:29 -0300
commita7fdca901f2cbd5cf92b32cd8e4fb6c4ab18e592 (patch)
treedfbb8804e3000d29ffb6e1955c9b91bfb5e929fe /board/toradex
parentf8b874f5426dc006cb5b31690b94a50a85a3236b (diff)
downloadu-boot-a7fdca901f2cbd5cf92b32cd8e4fb6c4ab18e592.tar.gz
u-boot-a7fdca901f2cbd5cf92b32cd8e4fb6c4ab18e592.tar.bz2
u-boot-a7fdca901f2cbd5cf92b32cd8e4fb6c4ab18e592.zip
board: toradex: colibri-imx8x: Remove board_gpio_init
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. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Diffstat (limited to 'board/toradex')
-rw-r--r--board/toradex/colibri-imx8x/colibri-imx8x.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/board/toradex/colibri-imx8x/colibri-imx8x.c b/board/toradex/colibri-imx8x/colibri-imx8x.c
index a507d666c0..3565785259 100644
--- a/board/toradex/colibri-imx8x/colibri-imx8x.c
+++ b/board/toradex/colibri-imx8x/colibri-imx8x.c
@@ -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();