summaryrefslogtreecommitdiff
path: root/cpu/leon2/cpu.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-09-03 22:43:57 +0200
committerWolfgang Denk <wd@denx.de>2008-09-03 22:43:57 +0200
commit16116ddd0d0158f4e91c91dc979b845b6e98a99d (patch)
treee2062a888c76462b6335da29092c5fe4134c0859 /cpu/leon2/cpu.c
parent628ffd73bcff0c9f3bc5a8eeb2c7455fe9d28a51 (diff)
parentbe1b0d2777e179191a57b138b660547a17e55aad (diff)
downloadu-boot-imx-16116ddd0d0158f4e91c91dc979b845b6e98a99d.zip
u-boot-imx-16116ddd0d0158f4e91c91dc979b845b6e98a99d.tar.gz
u-boot-imx-16116ddd0d0158f4e91c91dc979b845b6e98a99d.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'cpu/leon2/cpu.c')
-rw-r--r--cpu/leon2/cpu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpu/leon2/cpu.c b/cpu/leon2/cpu.c
index 5de1c52..d6e23b1 100644
--- a/cpu/leon2/cpu.c
+++ b/cpu/leon2/cpu.c
@@ -25,6 +25,7 @@
#include <common.h>
#include <watchdog.h>
#include <command.h>
+#include <netdev.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -57,8 +58,6 @@ int do_reset(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
/* ------------------------------------------------------------------------- */
-extern int greth_initialize(bd_t *bis);
-
#ifdef CONFIG_GRETH
int cpu_eth_init(bd_t *bis)
{