Skip to content

Commit

Permalink
sh: Tidy up some of the cpu legacy dma header mess.
Browse files Browse the repository at this point in the history
This has turned in to quite a mess, and with CPUs that care using
dmaengine now it's about time to start cleaning up after the legacy DMA
code. For starters, kill off the stubs for the CPUs that don't do
anything, as well as all of the unused definitions. This leaves us with a
set of IRQs and base addresses we can deal with later.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed May 19, 2012
1 parent 0c60123 commit 2ff9f31
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 52 deletions.
1 change: 0 additions & 1 deletion arch/sh/include/asm/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <linux/wait.h>
#include <linux/sched.h>
#include <linux/device.h>
#include <cpu/dma.h>
#include <asm-generic/dma.h>

#ifdef CONFIG_NR_DMA_CHANNELS
Expand Down
23 changes: 0 additions & 23 deletions arch/sh/include/cpu-sh2/cpu/dma.h

This file was deleted.

1 change: 0 additions & 1 deletion arch/sh/include/cpu-sh2a/cpu/dma.h

This file was deleted.

7 changes: 0 additions & 7 deletions arch/sh/include/cpu-sh3/cpu/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,4 @@
#define DMTE0_IRQ evt2irq(0x800)
#define DMTE4_IRQ evt2irq(0xb80)

/* Definitions for the SuperH DMAC */
#define TM_BURST 0x00000020
#define TS_8 0x00000000
#define TS_16 0x00000008
#define TS_32 0x00000010
#define TS_128 0x00000018

#endif /* __ASM_CPU_SH3_DMA_H */
9 changes: 0 additions & 9 deletions arch/sh/include/cpu-sh4/cpu/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,4 @@
#define SH_DMAC_BASE0 0xffa00000
#define SH_DMAC_BASE1 0xffa00070

/* Definitions for the SuperH DMAC */
#define TM_BURST 0x00000080
#define TS_8 0x00000010
#define TS_16 0x00000020
#define TS_32 0x00000030
#define TS_64 0x00000000

#define DMAOR_COD 0x00000008

#endif /* __ASM_CPU_SH4_DMA_H */
5 changes: 0 additions & 5 deletions arch/sh/include/cpu-sh4a/cpu/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,4 @@
#define SH_DMARS_BASE0 0xFC809000
#endif

#define REQ_HE 0x000000C0
#define REQ_H 0x00000080
#define REQ_LE 0x00000040
#define TM_BURST 0x00000020

#endif /* __ASM_SH_CPU_SH4_DMA_SH7780_H */
6 changes: 0 additions & 6 deletions arch/sh/include/cpu-sh5/cpu/dma.h

This file was deleted.

0 comments on commit 2ff9f31

Please sign in to comment.