diff options
author | Remy Bohmer <linux@bohmer.net> | 2009-05-02 21:49:18 +0200 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2009-06-15 00:13:55 -0700 |
commit | 60f61e6d7655400bb785a2ef637581679941f6d1 (patch) | |
tree | 9ef42885ec5b620b6f2cde24a0f561856e6bf67e /board/scb9328/scb9328.c | |
parent | 9131589ada4dda0718604d0a425ca46e52775f6e (diff) | |
download | u-boot-imx-60f61e6d7655400bb785a2ef637581679941f6d1.zip u-boot-imx-60f61e6d7655400bb785a2ef637581679941f6d1.tar.gz u-boot-imx-60f61e6d7655400bb785a2ef637581679941f6d1.tar.bz2 |
Convert DM9000 driver for CONFIG_NET_MULTI
All drivers need to be converted to CONFIG_NET_MULTI.
This patch converts the dm9000 driver.
Signed-off-by: Thomas Smits <ts.smits@gmail.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/scb9328/scb9328.c')
-rw-r--r-- | board/scb9328/scb9328.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/scb9328/scb9328.c b/board/scb9328/scb9328.c index 3f6831b..428e8c9 100644 --- a/board/scb9328/scb9328.c +++ b/board/scb9328/scb9328.c @@ -19,6 +19,7 @@ */ #include <common.h> +#include <netdev.h> DECLARE_GLOBAL_DATA_PTR; @@ -70,3 +71,10 @@ void show_boot_progress (int status) { return; } + +#ifdef CONFIG_DRIVER_DM9000 +int board_eth_init(bd_t *bis) +{ + return dm9000_initialize(bis); +} +#endif |