[PATCH 20/21] smdkc100: Remove legacy non-DM_ETH code

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


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

Cc: Minkyu Kang <mk7.kang at samsung.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 board/samsung/smdkc100/smdkc100.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/board/samsung/smdkc100/smdkc100.c b/board/samsung/smdkc100/smdkc100.c
index 69ed715403fb..b944e44c1ac4 100644
--- a/board/samsung/smdkc100/smdkc100.c
+++ b/board/samsung/smdkc100/smdkc100.c
@@ -69,12 +69,3 @@ int checkboard(void)
 	return 0;
 }
 #endif
-
-int board_eth_init(struct bd_info *bis)
-{
-	int rc = 0;
-#ifdef CONFIG_SMC911X
-	rc = smc911x_initialize(0, CONFIG_SMC911X_BASE);
-#endif
-	return rc;
-}
-- 
2.25.1



More information about the U-Boot mailing list