diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-08-31 10:15:26 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-02 21:18:17 -0700 |
commit | 164846eeb25cb2a5ede7ab9371fdca7f4831a055 (patch) | |
tree | 79ef10ad970b8395b48b973990207238a1e2e051 /board/MAI/AmigaOneG3SE/AmigaOneG3SE.c | |
parent | 6aca145e067efe75398e9fac97822bd3700de0b2 (diff) | |
download | u-boot-imx-164846eeb25cb2a5ede7ab9371fdca7f4831a055.zip u-boot-imx-164846eeb25cb2a5ede7ab9371fdca7f4831a055.tar.gz u-boot-imx-164846eeb25cb2a5ede7ab9371fdca7f4831a055.tar.bz2 |
Moved initialization of 3COM Ethernet controller (AmigaOne) to board_eth_init()
Affected boards:
AmigaOneG3SE
Removed initialization of the driver from net/eth.c
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/MAI/AmigaOneG3SE/AmigaOneG3SE.c')
-rw-r--r-- | board/MAI/AmigaOneG3SE/AmigaOneG3SE.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c b/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c index e118563..4d44001 100644 --- a/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c +++ b/board/MAI/AmigaOneG3SE/AmigaOneG3SE.c @@ -26,6 +26,7 @@ #include <common.h> #include <command.h> #include <pci.h> +#include <netdev.h> #include "articiaS.h" #include "memio.h" #include "via686.h" @@ -111,3 +112,11 @@ void pci_init_board (void) articiaS_pci_init (); #endif } + +int board_eth_init(bd_t *bis) +{ +#if defined(CONFIG_3COM) + eth_3com_initialize(bis); +#endif + return 0; +} |