Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148640
b: refs/heads/master
c: dcffc1b
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek committed May 26, 2009
1 parent c64b03a commit b0ac07e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46fb9be93b15bd8315622ad2f85f9516c064a785
refs/heads/master: dcffc1b29115cc26686b8ae62b587e63f0e139f0
5 changes: 5 additions & 0 deletions trunk/arch/microblaze/include/asm/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@
#ifndef _ASM_MICROBLAZE_DMA_H
#define _ASM_MICROBLAZE_DMA_H

#ifndef CONFIG_MMU
/* we don't have dma address limit. define it as zero to be
* unlimited. */
#define MAX_DMA_ADDRESS (0)
#else
/* Virtual address corresponding to last available physical memory address. */
#define MAX_DMA_ADDRESS (CONFIG_KERNEL_START + memory_size - 1)
#endif

#endif /* _ASM_MICROBLAZE_DMA_H */

0 comments on commit b0ac07e

Please sign in to comment.