net/designware: Make DMA burst length configurable and reduce by default
authorIan Campbell <ijc@hellion.org.uk>
Thu, 8 May 2014 21:26:35 +0000 (22:26 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 25 May 2014 15:23:58 +0000 (17:23 +0200)
commit49692c5f517d8e44ed9db0de778728fe7d2a300c
tree618b614d0c8d4a635c9631f597e1b22e5f53fe48
parent1857075a7f00ff0a62b13170a78c70ff94e30f96
net/designware: Make DMA burst length configurable and reduce by default

The correct value for this setting can vary across SoCs and boards, so make it
configurable.

Also reduce the default value to 8, which is the same default as used in the
Linux driver.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
drivers/net/designware.c
drivers/net/designware.h