summaryrefslogtreecommitdiff
path: root/cpu/mpc5xxx
diff options
context:
space:
mode:
authorGrzegorz Bernacki <gjb@semihalf.com>2009-03-17 10:06:40 +0100
committerWolfgang Denk <wd@denx.de>2009-03-20 22:39:14 +0100
commit5c4fa9b474af95d60f019ec6369cbe77b9dab4b5 (patch)
treeb5fce8725007726afc47808b364b1e3b9cbde652 /cpu/mpc5xxx
parentff7dc067369e30066744f096995aef7d97574d15 (diff)
Add support for the digsy MTC board.
This is the InterControl custom device based on the MPC5200B chip. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
Diffstat (limited to 'cpu/mpc5xxx')
-rw-r--r--cpu/mpc5xxx/cpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/mpc5xxx/cpu.c b/cpu/mpc5xxx/cpu.c
index ad5ef8e37..f6258c7be 100644
--- a/cpu/mpc5xxx/cpu.c
+++ b/cpu/mpc5xxx/cpu.c
@@ -28,6 +28,7 @@
#include <common.h>
#include <watchdog.h>
#include <command.h>
+#include <net.h>
#include <mpc5xxx.h>
#include <netdev.h>
#include <asm/io.h>
@@ -121,7 +122,7 @@ void ft_cpu_setup(void *blob, bd_t *bd)
int div = in_8((void*)CONFIG_SYS_MBAR + 0x204) & 0x0020 ? 8 : 4;
char * cpu_path = "/cpus/" OF_CPU;
#ifdef CONFIG_MPC5xxx_FEC
- uchar *enetaddr[6];
+ uchar enetaddr[6];
char * eth_path = "/" OF_SOC "/ethernet@3000";
#endif