diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-08-31 21:41:08 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-02 21:18:16 -0700 |
commit | 0b252f50ae218ae15bfb63af44227972686ebc56 (patch) | |
tree | 98e5a13a7c1574f7fa1061fa9dc97293d7e014a3 /board/freescale/mpc8641hpcn | |
parent | 02d69891d95ee76b0e86e1715a4dc0b964a57cb7 (diff) | |
download | u-boot-imx-0b252f50ae218ae15bfb63af44227972686ebc56.zip u-boot-imx-0b252f50ae218ae15bfb63af44227972686ebc56.tar.gz u-boot-imx-0b252f50ae218ae15bfb63af44227972686ebc56.tar.bz2 |
Moved initialization of RTL8139 Ethernet controller to board_eth_init()
Affected boards:
hidden_dragon
MPC8544DS
MPC8610HPCN
R2DPLUS
TB0229
Removed initialization of the driver from net/eth.c
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'board/freescale/mpc8641hpcn')
-rw-r--r-- | board/freescale/mpc8641hpcn/mpc8641hpcn.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/freescale/mpc8641hpcn/mpc8641hpcn.c b/board/freescale/mpc8641hpcn/mpc8641hpcn.c index 1bb563e..97f7f49 100644 --- a/board/freescale/mpc8641hpcn/mpc8641hpcn.c +++ b/board/freescale/mpc8641hpcn/mpc8641hpcn.c @@ -29,6 +29,7 @@ #include <asm/io.h> #include <libfdt.h> #include <fdt_support.h> +#include <netdev.h> #include "../common/pixis.h" @@ -379,3 +380,10 @@ get_board_sys_clk(ulong dummy) return val; } + +int board_eth_init(bd_t *bis) +{ + /* Initialize TSECs */ + cpu_eth_init(bis); + return pci_eth_init(bis); +} |