Provide function protocol for icache_invalid().

Signed-off-by: TsiChung Liew <tsicl...@gmail.com>
---
 drivers/net/mcffec.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c
index 64be5de..d3741a7 100644
--- a/drivers/net/mcffec.c
+++ b/drivers/net/mcffec.c
@@ -95,6 +95,10 @@ struct fec_info_s fec_info[] = {
 #endif
 };
 
+#ifdef CONFIG_SYS_UNIFY_CACHE
+extern void icache_invalid(void);
+#endif
+
 int fec_send(struct eth_device *dev, volatile void *packet, int length);
 int fec_recv(struct eth_device *dev);
 int fec_init(struct eth_device *dev, bd_t * bd);
-- 
1.5.6.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to