| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | menu "DMA support" | 
 | 2 |  | 
| Manuel Lauss | fc467a2 | 2007-05-09 17:36:15 +0900 | [diff] [blame] | 3 | config SH_DMA_API | 
 | 4 | 	bool | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 |  | 
| Manuel Lauss | fc467a2 | 2007-05-09 17:36:15 +0900 | [diff] [blame] | 6 | config SH_DMA | 
 | 7 | 	bool "SuperH on-chip DMA controller (DMAC) support" | 
| Paul Mundt | 3e76783 | 2007-07-20 14:23:04 +0900 | [diff] [blame] | 8 | 	depends on CPU_SH3 || CPU_SH4 | 
| Manuel Lauss | fc467a2 | 2007-05-09 17:36:15 +0900 | [diff] [blame] | 9 | 	select SH_DMA_API | 
 | 10 | 	default n | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 |  | 
 | 12 | config NR_ONCHIP_DMA_CHANNELS | 
| Paul Mundt | fc10020 | 2007-07-20 14:24:57 +0900 | [diff] [blame] | 13 | 	int | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | 	depends on SH_DMA | 
| Yoshihiro Shimoda | 31a49c4 | 2007-12-26 11:45:06 +0900 | [diff] [blame] | 15 | 	default "6" if CPU_SUBTYPE_SH7720 || CPU_SUBTYPE_SH7721 | 
| Paul Mundt | 5283ecb | 2006-09-27 15:59:17 +0900 | [diff] [blame] | 16 | 	default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R | 
 | 17 | 	default "12" if CPU_SUBTYPE_SH7780 | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | 	default "4" | 
 | 19 | 	help | 
 | 20 | 	  This allows you to specify the number of channels that the on-chip | 
 | 21 | 	  DMAC supports. This will be 4 for SH7750/SH7751 and 8 for the | 
 | 22 | 	  SH7750R/SH7751R. | 
 | 23 |  | 
 | 24 | config NR_DMA_CHANNELS_BOOL | 
 | 25 | 	depends on SH_DMA | 
 | 26 | 	bool "Override default number of maximum DMA channels" | 
 | 27 | 	help | 
 | 28 | 	  This allows you to forcibly update the maximum number of supported | 
 | 29 | 	  DMA channels for a given board. If this is unset, this will default | 
 | 30 | 	  to the number of channels that the on-chip DMAC has. | 
 | 31 |  | 
 | 32 | config NR_DMA_CHANNELS | 
 | 33 | 	int "Maximum number of DMA channels" | 
 | 34 | 	depends on SH_DMA && NR_DMA_CHANNELS_BOOL | 
 | 35 | 	default NR_ONCHIP_DMA_CHANNELS | 
 | 36 | 	help | 
 | 37 | 	  This allows you to specify the maximum number of DMA channels to | 
 | 38 | 	  support. Setting this to a higher value allows for cascading DMACs | 
 | 39 | 	  with additional channels. | 
 | 40 |  | 
| Manuel Lauss | fc467a2 | 2007-05-09 17:36:15 +0900 | [diff] [blame] | 41 | config SH_DMABRG | 
 | 42 | 	bool "SH7760 DMABRG support" | 
 | 43 | 	depends on CPU_SUBTYPE_SH7760 | 
 | 44 | 	help | 
 | 45 | 	  The DMABRG does data transfers from main memory to Audio/USB units | 
 | 46 | 	  of the SH7760. | 
 | 47 | 	  Say Y if you want to use Audio/USB DMA on your SH7760 board. | 
 | 48 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | endmenu |