summaryrefslogtreecommitdiff
path: root/cpu/mpc5xxx/fec.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-03-23 21:43:07 +0000
committerwdenk <wdenk>2004-03-23 21:43:07 +0000
commit109c0e3ad32428dd65ed89f882faf59e30132494 (patch)
treeb169a55128956348db08e24312c5db7cd23a1c9e /cpu/mpc5xxx/fec.c
parentefa329cb892c8b9a5e453638b3ca57c94b71e9a2 (diff)
downloadu-boot-imx-109c0e3ad32428dd65ed89f882faf59e30132494.zip
u-boot-imx-109c0e3ad32428dd65ed89f882faf59e30132494.tar.gz
u-boot-imx-109c0e3ad32428dd65ed89f882faf59e30132494.tar.bz2
* Patch by Phillippe Robin, 16 Mar 2004:
avoid dereferencing NULL pointer in lib_arm/armlinux.c * Patch by Stephen Williams, 15 Mar 2004: Fix CONFIG_SERIAL_SOFTWARE_FIFO documentation * Patch by Tolunay Orkun, 15 Mar 2004: Initialize bi_opbfreq to real OPB frequency via get_OPB_freq() * Patch by Travis Sawyer, 15 Mar 2004: Update CREDITS & MAINTAINERS files for PPC440GX & Ocotea port
Diffstat (limited to 'cpu/mpc5xxx/fec.c')
-rw-r--r--cpu/mpc5xxx/fec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/mpc5xxx/fec.c b/cpu/mpc5xxx/fec.c
index 50499e2..6e20faa 100644
--- a/cpu/mpc5xxx/fec.c
+++ b/cpu/mpc5xxx/fec.c
@@ -830,8 +830,8 @@ int mpc5xxx_fec_initialize(bd_t * bis)
fec->eth = (ethernet_regs *)MPC5XXX_FEC;
fec->tbdBase = (FEC_TBD *)FEC_BD_BASE;
fec->rbdBase = (FEC_RBD *)(FEC_BD_BASE + FEC_TBD_NUM * sizeof(FEC_TBD));
-#if defined(CONFIG_ICECUBE) ||
- defined(CONFIG_PM520) ||
+#if defined(CONFIG_ICECUBE) || \
+ defined(CONFIG_PM520) || \
defined(CONFIG_TOP5200)
# ifndef CONFIG_FEC_10MBIT
fec->xcv_type = MII100;