diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-03-27 11:46:38 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-13 17:13:46 -0700 |
commit | e99ccb488181d012248c6be30b2093e950319fc5 (patch) | |
tree | 3c9fefb4d458a349912aeb2ff548088a21101600 /include/asm-nios/types.h | |
parent | 20a14a42a25f72e379f38460b8a8484667536795 (diff) |
Introduce phys_size_t and move phys_addr_t into asm/types.h
Also add CONFIG_PHYS_64BIT on powerpc to deal with 32-bit ppc's
that have larger physical addresses like 44x, 85xx, and 86xx.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-nios/types.h')
-rw-r--r-- | include/asm-nios/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-nios/types.h b/include/asm-nios/types.h index 24c98a89e4..636e12fd38 100644 --- a/include/asm-nios/types.h +++ b/include/asm-nios/types.h @@ -52,6 +52,9 @@ typedef unsigned long long u64; /* Dma addresses are 32-bits wide. */ typedef u32 dma_addr_t; + +typedef unsigned long phys_addr_t; +typedef unsigned long phys_size_t; #endif /* __KERNEL__ */ #endif /* _NIOS_TYPES_H */ |