ARM: uniphier: remove board_eth_init()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 20 May 2020 03:31:28 +0000 (12:31 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 22 May 2020 02:21:06 +0000 (11:21 +0900)
This platform completely migrated to CONFIG_DM_ETH.

board_eth_init() is only called from net/eth_legacy.c

Remove the legacy hook.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/micro-support-card.c

index 3bd26f26dbd28129631623ba54c076d3ee9839d3..b09ec54e1f1834301e7ea47270e3327158d3a3d4 100644 (file)
@@ -107,18 +107,6 @@ void support_card_init(void)
        support_card_show_revision();
 }
 
-#if defined(CONFIG_SMC911X)
-#include <netdev.h>
-
-int board_eth_init(bd_t *bis)
-{
-       if (!support_card_found)
-               return 0;
-
-       return smc911x_initialize(0, (unsigned long)support_card_base + SMC911X_OFFSET);
-}
-#endif
-
 #if defined(CONFIG_MTD_NOR_FLASH)
 
 #include <mtd/cfi_flash.h>