Kconfig (bbb20089a3275a19e475dbc21320c3742e3ca423) Kconfig (d8902adcc1a9fd484c8cb5e575152e32192c1ff8)
1menu "DMA support"
2
1menu "DMA support"
2
3config SH_DMA_API
4 bool
5
6config SH_DMA
7 bool "SuperH on-chip DMA controller (DMAC) support"
8 depends on CPU_SH3 || CPU_SH4
3
4config SH_DMA
5 bool "SuperH on-chip DMA controller (DMAC) support"
6 depends on CPU_SH3 || CPU_SH4
9 select SH_DMA_API
10 default n
11
12config SH_DMA_IRQ_MULTI
13 bool
14 depends on SH_DMA
15 default y if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \
16 CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7750R || \
17 CPU_SUBTYPE_SH7751R || CPU_SUBTYPE_SH7091 || \
18 CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7764 || \
19 CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
20 CPU_SUBTYPE_SH7760
21
7 default n
8
9config SH_DMA_IRQ_MULTI
10 bool
11 depends on SH_DMA
12 default y if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \
13 CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7750R || \
14 CPU_SUBTYPE_SH7751R || CPU_SUBTYPE_SH7091 || \
15 CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7764 || \
16 CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
17 CPU_SUBTYPE_SH7760
18
19config SH_DMA_API
20 depends on SH_DMA
21 bool "SuperH DMA API support"
22 default n
23 help
24 SH_DMA_API always enabled DMA API of used SuperH.
25 If you want to use DMA ENGINE, you must not enable this.
26 Please enable DMA_ENGINE and SH_DMAE.
27
22config NR_ONCHIP_DMA_CHANNELS
23 int
24 depends on SH_DMA
25 default "4" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \
26 CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7091
27 default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R || \
28 CPU_SUBTYPE_SH7760
29 default "12" if CPU_SUBTYPE_SH7723 || CPU_SUBTYPE_SH7780 || \

--- 57 unchanged lines hidden ---
28config NR_ONCHIP_DMA_CHANNELS
29 int
30 depends on SH_DMA
31 default "4" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \
32 CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7091
33 default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R || \
34 CPU_SUBTYPE_SH7760
35 default "12" if CPU_SUBTYPE_SH7723 || CPU_SUBTYPE_SH7780 || \

--- 57 unchanged lines hidden ---