summaryrefslogtreecommitdiff
path: root/cpu/mpc512x/cpu.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-09-03 23:07:41 +0200
committerWolfgang Denk <wd@denx.de>2008-09-03 23:07:41 +0200
commit53c987f51391c1a221b0468aa0f37a3a6ce9181a (patch)
tree62bd19ba9bcf8a5062e874ab53877b53a434d6f7 /cpu/mpc512x/cpu.c
parent1711f3bd16d1c5e9d17b4c0198b426d86999781b (diff)
parentce42d166ac3c55ebf1e7c2f9707a79acefa006be (diff)
downloadu-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/mpc512x/cpu.c')
-rw-r--r--cpu/mpc512x/cpu.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/cpu/mpc512x/cpu.c b/cpu/mpc512x/cpu.c
index 1f39ac4..d432d99 100644
--- a/cpu/mpc512x/cpu.c
+++ b/cpu/mpc512x/cpu.c
@@ -30,6 +30,7 @@
#include <common.h>
#include <command.h>
#include <mpc512x.h>
+#include <netdev.h>
#include <asm/processor.h>
#if defined(CONFIG_OF_LIBFDT)
@@ -195,3 +196,15 @@ void ft_cpu_setup(void *blob, bd_t *bd)
#endif
}
#endif
+
+#ifdef CONFIG_MPC512x_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 mpc512x_fec_initialize(bis);
+}
+#endif