From 736fead8fdbf8a8407048bebc373cd551d01ec98 Mon Sep 17 00:00:00 2001 From: Ben Warren Date: Mon, 20 Jul 2009 22:01:11 -0700 Subject: Convert SMC911X Ethernet driver to CONFIG_NET_MULTI API All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_SMC911X* to CONFIG_SMC911X* - cleaned up line lengths - modified all boards that override weak function in this driver - added Signed-off-by: Ben Warren Tested-by: Mike Frysinger --- board/bf548-ezkit/bf548-ezkit.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'board/bf548-ezkit/bf548-ezkit.c') diff --git a/board/bf548-ezkit/bf548-ezkit.c b/board/bf548-ezkit/bf548-ezkit.c index 74f93ba27d..88a0cd4d61 100644 --- a/board/bf548-ezkit/bf548-ezkit.c +++ b/board/bf548-ezkit/bf548-ezkit.c @@ -7,6 +7,7 @@ */ #include +#include #include #include #include @@ -77,3 +78,10 @@ int board_early_init_f(void) return 0; } + +#ifdef CONFIG_SMC911X +int board_eth_init(bd_t *bis) +{ + return smc911x_initialize(0, CONFIG_SMC911X_BASE); +} +#endif -- cgit