diff options
author | Eric Miao <eric.miao@marvell.com> | 2009-01-02 11:38:42 (GMT) |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-03-09 13:22:36 (GMT) |
commit | 7ebc8d56f407184a457dd5fc739cf39e423a25aa (patch) | |
tree | 6c5e7ba83c22def2304bf6db69116ca5d763c0b8 /drivers/mtd | |
parent | fef1f99a0c2928893c074bf3eff27efd36a4532a (diff) | |
download | linux-7ebc8d56f407184a457dd5fc739cf39e423a25aa.tar.xz |
[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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/pxa3xx_nand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/pxa3xx_nand.c b/drivers/mtd/nand/pxa3xx_nand.c index cc55cbc..61b69cc4 100644 --- a/drivers/mtd/nand/pxa3xx_nand.c +++ b/drivers/mtd/nand/pxa3xx_nand.c @@ -22,7 +22,6 @@ #include <linux/irq.h> #include <mach/dma.h> -#include <mach/pxa-regs.h> #include <mach/pxa3xx_nand.h> #define CHIP_DELAY_TIMEOUT (2 * HZ/10) |