
Ben,
Please ignore the following patch. I will send out a patch later that will fix most of the platforms beside mcf5282.
Thanks!
Regards, TsiChung
-----Original Message----- From: Liew Tsi Chung Sent: Tuesday, August 12, 2008 8:18 AM To: U-Boot Cc: Ben Warren; Rigby John; Liew Tsi Chung Subject: [PATCH] ColdFire: Fix FEC transmit issue for MCF5282
From: TsiChung Liew Tsi-Chung.Liew@freescale.com
Signed-off-by: TsiChung Liew Tsi-Chung.Liew@freescale.com --- drivers/net/mcffec.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index 58ed5e3..5218ab6 100644 --- a/drivers/net/mcffec.c +++ b/drivers/net/mcffec.c @@ -168,10 +168,11 @@ 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. + /* + * FEC fix for MCF5275, FEC unable to initial transmit data packet. * A nop will ensure the descriptor polling active completed. */ -#ifdef CONFIG_M5275 +#if defined(CONFIG_M5275) || defined(CONFIG_M5282) __asm__ ("nop"); #endif
-- 1.5.6.4