Christoph Hellwig | cf65a0f | 2018-06-12 19:01:45 +0200 | [diff] [blame] | 1 | |
| 2 | config HAS_DMA |
| 3 | bool |
| 4 | depends on !NO_DMA |
| 5 | default y |
| 6 | |
| 7 | config NEED_SG_DMA_LENGTH |
| 8 | bool |
| 9 | |
| 10 | config NEED_DMA_MAP_STATE |
| 11 | bool |
| 12 | |
| 13 | config ARCH_DMA_ADDR_T_64BIT |
| 14 | def_bool 64BIT || PHYS_ADDR_T_64BIT |
| 15 | |
Christoph Hellwig | f3ecc0f | 2018-08-19 14:53:20 +0200 | [diff] [blame^] | 16 | config ARCH_HAS_DMA_COHERENCE_H |
| 17 | bool |
| 18 | |
Christoph Hellwig | cf65a0f | 2018-06-12 19:01:45 +0200 | [diff] [blame] | 19 | config HAVE_GENERIC_DMA_COHERENT |
| 20 | bool |
| 21 | |
| 22 | config ARCH_HAS_SYNC_DMA_FOR_DEVICE |
| 23 | bool |
| 24 | |
| 25 | config ARCH_HAS_SYNC_DMA_FOR_CPU |
| 26 | bool |
| 27 | select NEED_DMA_MAP_STATE |
| 28 | |
Christoph Hellwig | 684f7e9 | 2018-09-11 08:54:57 +0200 | [diff] [blame] | 29 | config ARCH_HAS_SYNC_DMA_FOR_CPU_ALL |
| 30 | bool |
| 31 | |
Christoph Hellwig | cf65a0f | 2018-06-12 19:01:45 +0200 | [diff] [blame] | 32 | config DMA_DIRECT_OPS |
| 33 | bool |
| 34 | depends on HAS_DMA |
| 35 | |
| 36 | config DMA_NONCOHERENT_OPS |
| 37 | bool |
| 38 | depends on HAS_DMA |
| 39 | select DMA_DIRECT_OPS |
| 40 | |
| 41 | config DMA_NONCOHERENT_MMAP |
| 42 | bool |
| 43 | depends on DMA_NONCOHERENT_OPS |
| 44 | |
| 45 | config DMA_NONCOHERENT_CACHE_SYNC |
| 46 | bool |
| 47 | depends on DMA_NONCOHERENT_OPS |
| 48 | |
| 49 | config DMA_VIRT_OPS |
| 50 | bool |
| 51 | depends on HAS_DMA |
| 52 | |
| 53 | config SWIOTLB |
| 54 | bool |
| 55 | select DMA_DIRECT_OPS |
| 56 | select NEED_DMA_MAP_STATE |