summaryrefslogtreecommitdiff
path: root/common/cmd_bedbug.c
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2014-01-13 13:28:38 +0400
committerTom Rini <trini@ti.com>2014-02-07 09:16:26 -0500
commit74cb708d5853854d28547b917d4b8a5588ee7324 (patch)
tree1dcce360febe1b48f13640bca350cb503009441a /common/cmd_bedbug.c
parentbde237368adb421a39c418ee57c7bd9c330a2ef9 (diff)
downloadu-boot-imx-74cb708d5853854d28547b917d4b8a5588ee7324.zip
u-boot-imx-74cb708d5853854d28547b917d4b8a5588ee7324.tar.gz
u-boot-imx-74cb708d5853854d28547b917d4b8a5588ee7324.tar.bz2
net/designware: add explicit reset of {tx|rx}_currdescnum
Driver "init" function might be called multiple times. On every "init" Tx/Rx buffer descriptors are initialized: "descs_init" -> "{tx|rx}_descs_init". In its turn those init functions set MAC's "{tx|rx}desclistaddr" to point on the first buffer descriptor in the list. So CPU to start operation from the first buffer descriptor as well after every "init" we have to reset "{tx|rx}_currdescnum". Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Vipin Kumar <vipin.kumar@st.com> Cc: Stefan Roese <sr@denx.de> Cc: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'common/cmd_bedbug.c')
0 files changed, 0 insertions, 0 deletions