diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
| commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
| tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /arch/sh/include/cpu-sh2 | |
| parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) | |
Diffstat (limited to 'arch/sh/include/cpu-sh2')
| -rw-r--r-- | arch/sh/include/cpu-sh2/cpu/dma.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/sh/include/cpu-sh2/cpu/dma.h b/arch/sh/include/cpu-sh2/cpu/dma.h new file mode 100644 index 00000000000..d66b43cdc63 --- /dev/null +++ b/arch/sh/include/cpu-sh2/cpu/dma.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* | ||
| 2 | * Definitions for the SH-2 DMAC. | ||
| 3 | * | ||
| 4 | * Copyright (C) 2003 Paul Mundt | ||
| 5 | * | ||
| 6 | * This file is subject to the terms and conditions of the GNU General Public | ||
| 7 | * License. See the file "COPYING" in the main directory of this archive | ||
| 8 | * for more details. | ||
| 9 | */ | ||
| 10 | #ifndef __ASM_CPU_SH2_DMA_H | ||
| 11 | #define __ASM_CPU_SH2_DMA_H | ||
| 12 | |||
| 13 | #define SH_MAX_DMA_CHANNELS 2 | ||
| 14 | |||
| 15 | #define SAR ((unsigned long[]){ 0xffffff80, 0xffffff90 }) | ||
| 16 | #define DAR ((unsigned long[]){ 0xffffff84, 0xffffff94 }) | ||
| 17 | #define DMATCR ((unsigned long[]){ 0xffffff88, 0xffffff98 }) | ||
| 18 | #define CHCR ((unsigned long[]){ 0xfffffffc, 0xffffff9c }) | ||
| 19 | |||
| 20 | #define DMAOR 0xffffffb0 | ||
| 21 | |||
| 22 | #endif /* __ASM_CPU_SH2_DMA_H */ | ||
| 23 | |||
