xref: /openbmc/linux/kernel/dma/Kconfig (revision ba61bb17)
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 HAVE_GENERIC_DMA_COHERENT
17	bool
18
19config ARCH_HAS_SYNC_DMA_FOR_DEVICE
20	bool
21
22config ARCH_HAS_SYNC_DMA_FOR_CPU
23	bool
24	select NEED_DMA_MAP_STATE
25
26config DMA_DIRECT_OPS
27	bool
28	depends on HAS_DMA
29
30config DMA_NONCOHERENT_OPS
31	bool
32	depends on HAS_DMA
33	select DMA_DIRECT_OPS
34
35config DMA_NONCOHERENT_MMAP
36	bool
37	depends on DMA_NONCOHERENT_OPS
38
39config DMA_NONCOHERENT_CACHE_SYNC
40	bool
41	depends on DMA_NONCOHERENT_OPS
42
43config DMA_VIRT_OPS
44	bool
45	depends on HAS_DMA
46
47config SWIOTLB
48	bool
49	select DMA_DIRECT_OPS
50	select NEED_DMA_MAP_STATE
51