xref: /openbmc/linux/kernel/dma/Kconfig (revision e494239a)
1
2config HAS_DMA
3	bool
4	depends on !NO_DMA
5	default y
6
7config NEED_SG_DMA_LENGTH
8	bool
9
10config NEED_DMA_MAP_STATE
11	bool
12
13config ARCH_DMA_ADDR_T_64BIT
14	def_bool 64BIT || PHYS_ADDR_T_64BIT
15
16config ARCH_HAS_DMA_COHERENCE_H
17	bool
18
19config HAVE_GENERIC_DMA_COHERENT
20	bool
21
22config ARCH_HAS_SYNC_DMA_FOR_DEVICE
23	bool
24
25config ARCH_HAS_SYNC_DMA_FOR_CPU
26	bool
27	select NEED_DMA_MAP_STATE
28
29config ARCH_HAS_SYNC_DMA_FOR_CPU_ALL
30	bool
31
32config ARCH_HAS_DMA_COHERENT_TO_PFN
33	bool
34
35config ARCH_HAS_DMA_MMAP_PGPROT
36	bool
37
38config DMA_NONCOHERENT_CACHE_SYNC
39	bool
40
41config DMA_VIRT_OPS
42	bool
43	depends on HAS_DMA
44
45config SWIOTLB
46	bool
47	select NEED_DMA_MAP_STATE
48
49config DMA_REMAP
50	depends on MMU
51	bool
52
53config DMA_DIRECT_REMAP
54	bool
55	select DMA_REMAP
56