armv7/ls1021a/etsec: Enable Tx Data and TxBD snooping
authorAlison Wang <b18965@freescale.com>
Thu, 9 Jul 2015 03:09:05 +0000 (11:09 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 3 Aug 2015 19:06:37 +0000 (12:06 -0700)
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>
include/tsec.h

index 58cdc19df3af3bc0558a5fc4687972de553b6788..1119d2cb60be8c4dd3943f383093e9b595f34abb 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