dma.h (ead5d1f4d877e92c051e1a1ade623d0d30e71619) | dma.h (05cdf457477d6603b207d91873f0a3d4c7f8c1cd) |
---|---|
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 | 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#ifndef CONFIG_MMU 10/* we don't have dma address limit. define it as zero to be 11 * unlimited. */ 12#define MAX_DMA_ADDRESS (0) 13#else | |
14/* Virtual address corresponding to last available physical memory address. */ 15#define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1) | 9/* Virtual address corresponding to last available physical memory address. */ 10#define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1) |
16#endif | |
17 18#ifdef CONFIG_PCI 19extern int isa_dma_bridge_buggy; 20#else 21#define isa_dma_bridge_buggy (0) 22#endif 23 24#endif /* _ASM_MICROBLAZE_DMA_H */ | 11 12#ifdef CONFIG_PCI 13extern int isa_dma_bridge_buggy; 14#else 15#define isa_dma_bridge_buggy (0) 16#endif 17 18#endif /* _ASM_MICROBLAZE_DMA_H */ |