Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218802
b: refs/heads/master
c: 53a61ba
h: refs/heads/master
v: v3
  • Loading branch information
Koul, Vinod authored and Dan Williams committed Oct 7, 2010
1 parent ec95279 commit 0e6410a
Show file tree
Hide file tree
Showing 14 changed files with 141 additions and 1,974 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f1846c6ceed07c03ef036a27864befe0f773997
refs/heads/master: 53a61badf47e674fb43d73cd22f0f8065098ddf6
8 changes: 6 additions & 2 deletions trunk/arch/arm/mach-imx/include/mach/dma-v1.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@

#define imx_has_dma_v1() (cpu_is_mx1() || cpu_is_mx21() || cpu_is_mx27())

#include <mach/dma.h>

#define IMX_DMA_CHANNELS 16

#define DMA_MODE_READ 0
Expand Down Expand Up @@ -98,6 +96,12 @@ int imx_dma_request(int channel, const char *name);

void imx_dma_free(int channel);

enum imx_dma_prio {
DMA_PRIO_HIGH = 0,
DMA_PRIO_MEDIUM = 1,
DMA_PRIO_LOW = 2
};

int imx_dma_request_by_prio(const char *name, enum imx_dma_prio prio);

#endif /* __MACH_DMA_V1_H__ */
67 changes: 0 additions & 67 deletions trunk/arch/arm/plat-mxc/include/mach/dma.h

This file was deleted.

17 changes: 0 additions & 17 deletions trunk/arch/arm/plat-mxc/include/mach/sdma.h

This file was deleted.

16 changes: 0 additions & 16 deletions trunk/drivers/dma/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -195,22 +195,6 @@ config PCH_DMA
help
Enable support for the Topcliff PCH DMA engine.

config IMX_SDMA
tristate "i.MX SDMA support"
depends on ARCH_MX25 || ARCH_MX3 || ARCH_MX5
select DMA_ENGINE
help
Support the i.MX SDMA engine. This engine is integrated into
Freescale i.MX25/31/35/51 chips.

config IMX_DMA
tristate "i.MX DMA support"
depends on ARCH_MX1 || ARCH_MX21 || MACH_MX27
select DMA_ENGINE
help
Support the i.MX DMA engine. This engine is integrated into
Freescale i.MX1/21/27 chips.

config DMA_ENGINE
bool

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/dma/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ obj-$(CONFIG_TXX9_DMAC) += txx9dmac.o
obj-$(CONFIG_SH_DMAE) += shdma.o
obj-$(CONFIG_COH901318) += coh901318.o coh901318_lli.o
obj-$(CONFIG_AMCC_PPC440SPE_ADMA) += ppc4xx/
obj-$(CONFIG_IMX_SDMA) += imx-sdma.o
obj-$(CONFIG_IMX_DMA) += imx-dma.o
obj-$(CONFIG_TIMB_DMA) += timb_dma.o
obj-$(CONFIG_STE_DMA40) += ste_dma40.o ste_dma40_ll.o
obj-$(CONFIG_PL330_DMA) += pl330.o
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/dma/dmaengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -692,8 +692,6 @@ int dma_async_device_register(struct dma_device *device)
!device->device_prep_dma_interrupt);
BUG_ON(dma_has_cap(DMA_SLAVE, device->cap_mask) &&
!device->device_prep_slave_sg);
BUG_ON(dma_has_cap(DMA_CYCLIC, device->cap_mask) &&
!device->device_prep_dma_cyclic);
BUG_ON(dma_has_cap(DMA_SLAVE, device->cap_mask) &&
!device->device_control);

Expand Down
Loading

0 comments on commit 0e6410a

Please sign in to comment.