armv7/ls1021a/etsec: Enable Tx Data and TxBD snooping
To improve eTSEC performance on LS1021A Rev2.0,
snooping of all transmit frames from memory and
all transmit BD memory accesses in enabled.
Signed-off-by: Alison Wang <alison.wang@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
diff --git a/include/tsec.h b/include/tsec.h
index 58cdc19..1119d2c 100644
--- a/include/tsec.h
+++ b/include/tsec.h
@@ -129,11 +129,7 @@
#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