]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
net: tsec: Remove tx snooping support from LS1
authorClaudiu Manoil <claudiu.manoil@freescale.com>
Fri, 5 Sep 2014 05:52:46 +0000 (13:52 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 8 Sep 2014 17:30:35 +0000 (10:30 -0700)
Remove the DMCTRL Tx snooping bits (TDSEN and TBDSEN) as a
workaround for LS1.  It has been observed that currently
the Tx stops functioning after a fair amount of Tx traffic
with these settings on.  These bits are sticky and once set
they cannot be reset from Linux, for instance.

Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
include/tsec.h

index 1119d2cb60be8c4dd3943f383093e9b595f34abb..58cdc19df3af3bc0558a5fc4687972de553b6788 100644 (file)
 
 #define MINFLR_INIT_SETTINGS   0x00000040
 
+#ifdef CONFIG_LS102XA
+#define DMACTRL_INIT_SETTINGS  0x00000003
+#else
 #define DMACTRL_INIT_SETTINGS  0x000000c3
+#endif
 #define DMACTRL_GRS            0x00000010
 #define DMACTRL_GTS            0x00000008
 #define DMACTRL_LE             0x00008000