Skip to content

Commit

Permalink
[ARM] 3796/1: S3C24XX: Add per-cpu DMA channel mapper
Browse files Browse the repository at this point in the history
Allow each CPU type in the S3C24XX range to
select the DMA channel mapping it supports.

We change the DMA registration to use an
virtual channel number that the DMA system
will allocate to a hardware channel at
request time.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Ben Dooks authored and Russell King committed Sep 25, 2006
1 parent fd88edd commit 505788c
Show file tree
Hide file tree
Showing 4 changed files with 257 additions and 69 deletions.
6 changes: 6 additions & 0 deletions arch/arm/mach-s3c2410/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ obj-y := cpu.o irq.o time.o gpio.o clock.o devs.o
obj-m :=
obj-n :=
obj- :=
obj-dma-y :=
obj-dma-n :=

# DMA
obj-$(CONFIG_S3C2410_DMA) += dma.o
Expand Down Expand Up @@ -57,6 +59,10 @@ obj-$(CONFIG_CPU_S3C2442) += s3c2442-clock.o

obj-$(CONFIG_BAST_PC104_IRQ) += bast-irq.o

# merge in dma objects

obj-y += $(obj-dma-y)

# machine specific support

obj-$(CONFIG_MACH_ANUBIS) += mach-anubis.o
Expand Down
Loading

0 comments on commit 505788c

Please sign in to comment.