xref: /openbmc/linux/arch/microblaze/include/asm/dma.h (revision aac28965)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2006 Atmark Techno, Inc.
4  */
5 
6 #ifndef _ASM_MICROBLAZE_DMA_H
7 #define _ASM_MICROBLAZE_DMA_H
8 
9 /* Virtual address corresponding to last available physical memory address.  */
10 #define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1)
11 
12 #ifdef CONFIG_PCI
13 extern int isa_dma_bridge_buggy;
14 #else
15 #define isa_dma_bridge_buggy     (0)
16 #endif
17 
18 #endif /* _ASM_MICROBLAZE_DMA_H */
19