[PATCH 19/21] warp7: Remove legacy non-DM_ETH code

Tom Rini trini at konsulko.com
Tue Aug 2 13:33:45 CEST 2022


Now that we are about to enable DM_ETH by default, remove legacy code.

Cc: Fabio Estevam <festevam at gmail.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 board/warp7/warp7.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/board/warp7/warp7.c b/board/warp7/warp7.c
index 95b8e82dd1cc..ead52d5a490c 100644
--- a/board/warp7/warp7.c
+++ b/board/warp7/warp7.c
@@ -66,19 +66,6 @@ int power_init_board(void)
 }
 #endif
 
-int board_eth_init(struct bd_info *bis)
-{
-	int ret = 0;
-
-#ifdef CONFIG_USB_ETHER
-	ret = usb_eth_initialize(bis);
-	if (ret < 0)
-		printf("Error %d registering USB ether.\n", ret);
-#endif
-
-	return ret;
-}
-
 int board_init(void)
 {
 	/* address of boot parameters */
-- 
2.25.1



More information about the U-Boot mailing list