]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] pxa: move DMA registers definitions into <mach/dma.h>
authorEric Miao <eric.miao@marvell.com>
Fri, 2 Jan 2009 11:38:42 +0000 (19:38 +0800)
committerEric Miao <eric.miao@marvell.com>
Mon, 9 Mar 2009 13:22:36 +0000 (21:22 +0800)
commit7ebc8d56f407184a457dd5fc739cf39e423a25aa
tree6c5e7ba83c22def2304bf6db69116ca5d763c0b8
parentfef1f99a0c2928893c074bf3eff27efd36a4532a
[ARM] pxa: move DMA registers definitions into <mach/dma.h>

1. Driver code where pxa_request_dma() is called will most likely
   reference DMA registers as well,  and it is really unnecessary
   to include pxa-regs.h just for this. Move the definitions into
   <mach/dma.h> and make relevant drivers include it instead of
   <mach/pxa-regs.h>.

2. Introduce DMAC_REGS_VIRT as the virtual address base for these
   DMA registers. This allows later processors to re-use the same
   IP while registers may start at different I/O address.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
arch/arm/mach-pxa/dma.c
arch/arm/mach-pxa/include/mach/dma.h
arch/arm/mach-pxa/include/mach/pxa-regs.h
drivers/media/video/pxa_camera.c
drivers/mmc/host/pxamci.c
drivers/mtd/nand/pxa3xx_nand.c
drivers/spi/pxa2xx_spi.c
sound/soc/pxa/pxa-ssp.c
sound/soc/pxa/pxa2xx-ac97.c
sound/soc/pxa/pxa2xx-i2s.c