Commit 22d98a10 authored by Dmitry Konyshev's avatar Dmitry Konyshev

RM1326 Fix Ethernet working unreliably in some circumstances

parent 5950ada6
......@@ -176,13 +176,12 @@ int fec_send(struct eth_device *dev, volatile void *packet, int length)
#ifndef CONFIG_SYS_FEC_BUF_USE_SRAM
/*
* FEC unable to initial transmit data packet.
* A nop will ensure the descriptor polling active completed.
* A delay will ensure the descriptor polling active completed.
* CF Internal RAM has shorter cycle access than DRAM. If use
* DRAM as Buffer descriptor and data, a nop is a must.
* DRAM as Buffer descriptor and data, a delay is a must.
* Affect only V2 and V3.
*/
__asm__ ("nop");
udelay(100);
#endif
#ifdef CONFIG_SYS_UNIFY_CACHE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment