diff options
author | Wolfgang Denk <wd@denx.de> | 2008-04-08 00:11:22 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-08 00:11:22 +0200 |
commit | f9eabcb357ea294e3e01bfe26841bf51d6bd8f05 (patch) | |
tree | 7e3dffe10717babf2e2430ab4c9ed236bcba3742 /drivers/net/mcffec.c | |
parent | 2c78febd114b716714e7ac83c17bac5e30066512 (diff) | |
parent | 2d934ea51f276522b532f870a820e844ff480b5b (diff) | |
download | u-boot-imx-f9eabcb357ea294e3e01bfe26841bf51d6bd8f05.zip u-boot-imx-f9eabcb357ea294e3e01bfe26841bf51d6bd8f05.tar.gz u-boot-imx-f9eabcb357ea294e3e01bfe26841bf51d6bd8f05.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-net
Diffstat (limited to 'drivers/net/mcffec.c')
-rw-r--r-- | drivers/net/mcffec.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index 3b81258..71d1960 100644 --- a/drivers/net/mcffec.c +++ b/drivers/net/mcffec.c @@ -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 |