net: dwc: Make the cache handling less cryptic
authorMarek Vasut <marex@denx.de>
Sun, 14 Sep 2014 23:05:23 +0000 (01:05 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 15:36:40 +0000 (17:36 +0200)
commit96cec17d3cd22ca2251d6f7946409933a231ce6f
tree7c98cb81c262d65b4026b8c4da334aa7a5bfa164
parent4f68678b1941af7d75f391d1189c776fb434dc08
net: dwc: Make the cache handling less cryptic

Add a few new variables to make the cache handling less cryptic.
Add a variable for DMA and DATA descriptor start and end, so the
correctness of the code is easier to inspect.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Tom Rini <trini@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Pavel Machek <pavel@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Acked-by: Pavel Machek <pavel@denx.de>
Acked-by: Chin Liang See <clsee@altera.com>
drivers/net/designware.c