summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@freescale.com>2014-09-05 13:52:46 +0800
committerYork Sun <yorksun@freescale.com>2014-09-08 10:30:35 -0700
commit5ea060a9f96740969d1d1c392e446da823bb01d3 (patch)
tree104401541627be5d6c282aacd179e6029db6edc2
parentc8a7d9dab01c00c9efb5431284e9f16f8f2e92bb (diff)
downloadu-boot-imx-5ea060a9f96740969d1d1c392e446da823bb01d3.zip
u-boot-imx-5ea060a9f96740969d1d1c392e446da823bb01d3.tar.gz
u-boot-imx-5ea060a9f96740969d1d1c392e446da823bb01d3.tar.bz2
net: tsec: Remove tx snooping support from LS1
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>
-rw-r--r--include/tsec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/tsec.h b/include/tsec.h
index 1119d2c..58cdc19 100644
--- a/include/tsec.h
+++ b/include/tsec.h
@@ -129,7 +129,11 @@
#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