From: Alison Wang Date: Thu, 9 Jul 2015 03:09:05 +0000 (+0800) Subject: armv7/ls1021a/etsec: Enable Tx Data and TxBD snooping X-Git-Tag: v2015.10-rc2~424^2~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6a17365b658b1e5b1d33da0e77722d8a3d7da8d6;p=oweals%2Fu-boot.git 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 Reviewed-by: York Sun --- diff --git a/include/tsec.h b/include/tsec.h index 58cdc19df3..1119d2cb60 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