]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
smdkc100: Remove legacy non-DM_ETH code
authorTom Rini <trini@konsulko.com>
Tue, 2 Aug 2022 11:33:46 +0000 (07:33 -0400)
committerTom Rini <trini@konsulko.com>
Sun, 21 Aug 2022 01:18:15 +0000 (21:18 -0400)
Now that we are about to enable DM_ETH by default, remove legacy code.

Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/smdkc100/smdkc100.c

index 69ed715403fbca516b63694965306d4ace2a90c9..b944e44c1ac44d18545419a4ccf20b548e9b550b 100644 (file)
@@ -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;
-}