From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alison Wang Date: Tue, 19 Aug 2014 10:55:01 +0800 Subject: [U-Boot] [PATCH v5 12/16] net: tsec: Remove tx snooping support from LS1 In-Reply-To: <1408416905-19771-1-git-send-email-b18965@freescale.com> References: <1408416905-19771-1-git-send-email-b18965@freescale.com> Message-ID: <1408416905-19771-13-git-send-email-b18965@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Claudiu Manoil 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 --- Change log: v5: No change. v4: No change. v3: New file. include/tsec.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/tsec.h b/include/tsec.h index 5b74f67..1f0c233 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 -- 1.8.4