dmaengine/ste_dma40: use AMBA PrimeCell helper macros
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Jun 2011 09:33:46 +0000 (11:33 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 13 Jul 2011 22:39:10 +0000 (03:39 +0530)
commitf4b89764c470230bbf9d18c0a3411887c48bb5a2
treefbd10ad87d0f959e7252ebb1e70055c21354b4c8
parent79ca7ec3d1046a79c64f95f0cac0f5fd29829f53
dmaengine/ste_dma40: use AMBA PrimeCell helper macros

The DMA40 is not a PrimeCell from ARM, but it still use the same
ID registers. So let's utilize the existing macros in the
PrimeCell header to identify manufacturer and revision of the IP
block instead of reinventing the wheel.

Cc: Robert Marklund <robert.marklund@stericsson.com>
Cc: Per Forlin <per.forlin@linaro.org>
Cc: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ste_dma40.c
drivers/dma/ste_dma40_ll.h