Kconfig (f72222c74bd642182cc892c99df65cb105c61193) Kconfig (24d76195d124986b7702821b8b6cc85942b13146)
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

--- 13 unchanged lines hidden (view full) ---

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 || \
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

--- 13 unchanged lines hidden (view full) ---

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 || \
30 CPU_SUBTYPE_SH7785
30 CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7724
31 default "6"
32 help
33 This allows you to specify the number of channels that the on-chip
31 default "6"
32 help
33 This allows you to specify the number of channels that the on-chip
34 DMAC supports. This will be 4 for SH7091/SH7750/SH7751 and 8 for the
35 SH7750R/SH7751R.
34 DMAC supports. This will be 4 for SH7750/SH7751/Sh7750S/SH7091 and 8 for the
35 SH7750R/SH7751R/SH7760, 12 for the SH7723/SH7780/SH7785/SH7724, default is 6.
36
37config NR_DMA_CHANNELS_BOOL
38 depends on SH_DMA
39 bool "Override default number of maximum DMA channels"
40 help
41 This allows you to forcibly update the maximum number of supported
42 DMA channels for a given board. If this is unset, this will default
43 to the number of channels that the on-chip DMAC has.

--- 43 unchanged lines hidden ---
36
37config NR_DMA_CHANNELS_BOOL
38 depends on SH_DMA
39 bool "Override default number of maximum DMA channels"
40 help
41 This allows you to forcibly update the maximum number of supported
42 DMA channels for a given board. If this is unset, this will default
43 to the number of channels that the on-chip DMAC has.

--- 43 unchanged lines hidden ---