mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
bd5ce43323
1. introduce folder of 'arch/arm/plat-pxa' for common code across different PXA processor families 2. initially moved DMA code into plat-pxa 3. common code in <mach/dma.h> moved into <plat/dma.h>, new processors should implement its own <mach/dma.h>, provide the following required definitions and '#include <plat/dma.h>' in the end: - DMAC_REGS_VIRT for mapped virtual address of the DMA registers' physical I/O memory Signed-off-by: Eric Miao <eric.miao@marvell.com>
22 lines
550 B
C
22 lines
550 B
C
/*
|
|
* arch/arm/mach-pxa/include/mach/dma.h
|
|
*
|
|
* Author: Nicolas Pitre
|
|
* Created: Jun 15, 2001
|
|
* Copyright: MontaVista Software, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#ifndef __ASM_ARCH_DMA_H
|
|
#define __ASM_ARCH_DMA_H
|
|
|
|
#include <mach/hardware.h>
|
|
|
|
/* DMA Controller Registers Definitions */
|
|
#define DMAC_REGS_VIRT io_p2v(0x40000000)
|
|
|
|
#include <plat/dma.h>
|
|
#endif /* _ASM_ARCH_DMA_H */
|