diff options
author | Fred Fan <r01011@freescale.com> | 2009-02-23 14:50:43 +0800 |
---|---|---|
committer | Fred Fan <r01011@freescale.com> | 2009-09-10 14:11:18 +0800 |
commit | 765b588dba3e1672d66f6e63727b5f6691424e5e (patch) | |
tree | 3fd1d14e3ce11310b77914a6ced3c32a1c6f89b7 /cpu | |
parent | 5f7373e548c7862364511891596a97f18b945978 (diff) | |
download | u-boot-imx-765b588dba3e1672d66f6e63727b5f6691424e5e.zip u-boot-imx-765b588dba3e1672d66f6e63727b5f6691424e5e.tar.gz u-boot-imx-765b588dba3e1672d66f6e63727b5f6691424e5e.tar.bz2 |
ENGR00107886 Porting MX31, MX35 3stack to u-boot V2009.01
Modify and Verfiy MX31 & MX35 3stack according to the changes in V2009.01
Signed-off-by: Fred Fan <r01011@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/arm1136/mx35/generic.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cpu/arm1136/mx35/generic.c b/cpu/arm1136/mx35/generic.c index d6ad6d7..b70c3ea 100644 --- a/cpu/arm1136/mx35/generic.c +++ b/cpu/arm1136/mx35/generic.c @@ -24,6 +24,7 @@ */ #include <common.h> +#include <asm/errno.h> #include <asm/arch/mx35.h> #include "crm_regs.h" @@ -203,3 +204,16 @@ int print_cpuinfo(void) return 0; } #endif + +/* + * Initializes on-chip ethernet controllers. + * to override, implement board_eth_init() + */ +int cpu_eth_init(bd_t *bis) +{ + int rc = -ENODEV; +#if defined(CONFIG_MXC_FEC) + rc = mxc_fec_initialize(bis); +#endif + return rc; +} |