From: Claudiu Manoil Date: Fri, 5 Sep 2014 05:52:46 +0000 (+0800) Subject: net: tsec: Remove tx snooping support from LS1 X-Git-Tag: v2014.10-rc3~119^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5ea060a9f96740969d1d1c392e446da823bb01d3;p=u-boot 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 --- diff --git a/include/tsec.h b/include/tsec.h index 1119d2cb60..58cdc19df3 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