Commit 5ea060a9f96740969d1d1c392e446da823bb01d3
Committed by
York Sun
1 parent
c8a7d9dab0
Exists in
v2017.01-smarct4x
and in
37 other branches
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 <claudiu.manoil@freescale.com>
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
include/tsec.h
... | ... | @@ -129,7 +129,11 @@ |
129 | 129 | |
130 | 130 | #define MINFLR_INIT_SETTINGS 0x00000040 |
131 | 131 | |
132 | +#ifdef CONFIG_LS102XA | |
133 | +#define DMACTRL_INIT_SETTINGS 0x00000003 | |
134 | +#else | |
132 | 135 | #define DMACTRL_INIT_SETTINGS 0x000000c3 |
136 | +#endif | |
133 | 137 | #define DMACTRL_GRS 0x00000010 |
134 | 138 | #define DMACTRL_GTS 0x00000008 |
135 | 139 | #define DMACTRL_LE 0x00008000 |