summaryrefslogtreecommitdiff
path: root/drivers/net/mcffec.c
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2008-08-21 23:55:11 +0000
committerBen Warren <biggerbadderben@gmail.com>2008-08-26 22:40:02 -0700
commit429be27ce195210d4b9decf9e867b9ca6155a87d (patch)
tree354a4235d77ec8315ca501ac73adedd6b6ec8f8c /drivers/net/mcffec.c
parent6a002171098e968bd5b362347d2831224fab6048 (diff)
downloadu-boot-imx-429be27ce195210d4b9decf9e867b9ca6155a87d.zip
u-boot-imx-429be27ce195210d4b9decf9e867b9ca6155a87d.tar.gz
u-boot-imx-429be27ce195210d4b9decf9e867b9ca6155a87d.tar.bz2
Fix ColdFire FEC warning messages
Types mismatch and implicit declaration of icache_invalid() warning messages Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/mcffec.c')
-rw-r--r--drivers/net/mcffec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c
index 6e69b46..7f59fa8 100644
--- a/drivers/net/mcffec.c
+++ b/drivers/net/mcffec.c
@@ -106,6 +106,10 @@ extern int mcffec_miiphy_write(char *devname, unsigned char addr,
unsigned char reg, unsigned short value);
#endif
+#ifdef CFG_UNIFY_CACHE
+extern void icache_invalid(void);
+#endif
+
void setFecDuplexSpeed(volatile fec_t * fecp, bd_t * bd, int dup_spd)
{
if ((dup_spd >> 16) == FULL) {