Skip to content
Snippets Groups Projects
Commit f605479d authored by TsiChung Liew's avatar TsiChung Liew Committed by Ben Warren
Browse files

ColdFire: Fix FEC transmit issue for MCF5275

parent d9a2f416
Branches
Tags
No related merge requests found
......@@ -166,6 +166,13 @@ int fec_send(struct eth_device *dev, volatile void *packet, int length)
/* Activate transmit Buffer Descriptor polling */
fecp->tdar = 0x01000000; /* Descriptor polling active */
/* FEC fix for MCF5275, FEC unable to initial transmit data packet.
* A nop will ensure the descriptor polling active completed.
*/
#ifdef CONFIG_M5275
__asm__ ("nop");
#endif
#ifdef CFG_UNIFY_CACHE
icache_invalid();
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment