diff options
author | Wolfgang Denk <wd@denx.de> | 2008-09-03 23:07:41 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-03 23:07:41 +0200 |
commit | 53c987f51391c1a221b0468aa0f37a3a6ce9181a (patch) | |
tree | 62bd19ba9bcf8a5062e874ab53877b53a434d6f7 /cpu/mpc5xxx/cpu.c | |
parent | 1711f3bd16d1c5e9d17b4c0198b426d86999781b (diff) | |
parent | ce42d166ac3c55ebf1e7c2f9707a79acefa006be (diff) | |
download | u-boot-imx-53c987f51391c1a221b0468aa0f37a3a6ce9181a.zip u-boot-imx-53c987f51391c1a221b0468aa0f37a3a6ce9181a.tar.gz u-boot-imx-53c987f51391c1a221b0468aa0f37a3a6ce9181a.tar.bz2 |
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Diffstat (limited to 'cpu/mpc5xxx/cpu.c')
-rw-r--r-- | cpu/mpc5xxx/cpu.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cpu/mpc5xxx/cpu.c b/cpu/mpc5xxx/cpu.c index 0ed2899..1326c3c 100644 --- a/cpu/mpc5xxx/cpu.c +++ b/cpu/mpc5xxx/cpu.c @@ -29,6 +29,7 @@ #include <watchdog.h> #include <command.h> #include <mpc5xxx.h> +#include <netdev.h> #include <asm/io.h> #include <asm/processor.h> @@ -155,3 +156,15 @@ ulong bootcount_load (void) return (*save_addr & 0x0000ffff); } #endif /* CONFIG_BOOTCOUNT_LIMIT */ + +#ifdef CONFIG_MPC5xxx_FEC +/* Default initializations for FEC controllers. To override, + * create a board-specific function called: + * int board_eth_init(bd_t *bis) + */ + +int cpu_eth_init(bd_t *bis) +{ + return mpc5xxx_fec_initialize(bis); +} +#endif |