diff options
author | Wolfgang Denk <wd@denx.de> | 2009-07-23 19:20:26 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-23 19:20:26 +0200 |
commit | 4fb799aeafa71c4e6caacd3acdc4a4547cfbd5d4 (patch) | |
tree | 6c49be563c2bcf3d24af9279493a054b613999ff /cpu/arm926ejs/mx27/generic.c | |
parent | b201171f2b4d509f3ad510b214bee70ff902e3d6 (diff) | |
parent | 97cfe86163505ea18e7ff7b71e78df5bb03dad57 (diff) | |
download | u-boot-imx-4fb799aeafa71c4e6caacd3acdc4a4547cfbd5d4.zip u-boot-imx-4fb799aeafa71c4e6caacd3acdc4a4547cfbd5d4.tar.gz u-boot-imx-4fb799aeafa71c4e6caacd3acdc4a4547cfbd5d4.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'cpu/arm926ejs/mx27/generic.c')
-rw-r--r-- | cpu/arm926ejs/mx27/generic.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpu/arm926ejs/mx27/generic.c b/cpu/arm926ejs/mx27/generic.c index bcf7899..47fa4b4 100644 --- a/cpu/arm926ejs/mx27/generic.c +++ b/cpu/arm926ejs/mx27/generic.c @@ -20,6 +20,7 @@ #include <common.h> #include <div64.h> +#include <netdev.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> @@ -159,6 +160,15 @@ int print_cpuinfo (void) } #endif +int cpu_eth_init(bd_t *bis) +{ +#if defined(CONFIG_FEC_MXC) + return fecmxc_initialize(bis); +#else + return 0; +#endif +} + void imx_gpio_mode(int gpio_mode) { struct gpio_regs *regs = (struct gpio_regs *)IMX_GPIO_BASE; |