Skip to content

Commit 40f49e7

Browse files
committed
sh: dma: Make G2 DMA configurable.
Follow the PVR2 DMAC change for G2 DMA. Signed-off-by: Paul Mundt <[email protected]>
1 parent da62e71 commit 40f49e7

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

arch/sh/drivers/dma/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,15 @@ config PVR2_DMA
6767

6868
If in doubt, say N.
6969

70+
config G2_DMA
71+
tristate "G2 Bus DMA support"
72+
depends on SH_DREAMCAST
73+
select SH_DMA_API
74+
help
75+
This enables support for the DMA controller for the Dreamcast's
76+
G2 bus. Drivers that want this will generally enable this on
77+
their own.
78+
79+
If in doubt, say N.
80+
7081
endmenu

arch/sh/drivers/dma/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
obj-$(CONFIG_SH_DMA_API) += dma-api.o dma-sysfs.o
66
obj-$(CONFIG_SH_DMA) += dma-sh.o
7-
obj-$(CONFIG_SH_DREAMCAST) += dma-g2.o
87
obj-$(CONFIG_PVR2_DMA) += dma-pvr2.o
8+
obj-$(CONFIG_G2_DMA) += dma-g2.o
99
obj-$(CONFIG_SH_DMABRG) += dmabrg.o

sound/sh/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ config SND_AICA
1515
tristate "Dreamcast Yamaha AICA sound"
1616
depends on SH_DREAMCAST
1717
select SND_PCM
18+
select G2_DMA
1819
help
1920
ALSA Sound driver for the SEGA Dreamcast console.
2021

0 commit comments

Comments
 (0)