projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://www.denx.de/git/u-boot-socfpga
[oweals/u-boot.git]
/
arch
/
powerpc
/
include
/
asm
/
types.h
diff --git
a/arch/powerpc/include/asm/types.h
b/arch/powerpc/include/asm/types.h
index b27a6b753a06cb02f55d187badc8e2f915af761d..b29ce792f7231a0b3e25cb1ff3b172c9fa522553 100644
(file)
--- a/
arch/powerpc/include/asm/types.h
+++ b/
arch/powerpc/include/asm/types.h
@@
-41,8
+41,12
@@
typedef unsigned long long u64;
#define BITS_PER_LONG 32
+#ifdef CONFIG_PHYS_64BIT
+typedef unsigned long long dma_addr_t;
+#else
/* DMA addresses are 32-bits wide */
typedef u32 dma_addr_t;
+#endif
#ifdef CONFIG_PHYS_64BIT
typedef unsigned long long phys_addr_t;