diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-08-02 23:48:31 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-08-03 02:19:16 +0200 |
commit | 81d3f1fdddafd1eb53bbca8739f488d417eb3dd2 (patch) | |
tree | 101fa464480a0ff084914b982259ba2dffce1b8c /include/asm-nios2 | |
parent | 5fa62000db6d0b46ecdeadbeb50faf5197db49ef (diff) | |
download | u-boot-81d3f1fdddafd1eb53bbca8739f488d417eb3dd2.tar.gz u-boot-81d3f1fdddafd1eb53bbca8739f488d417eb3dd2.tar.xz u-boot-81d3f1fdddafd1eb53bbca8739f488d417eb3dd2.zip |
nios2: fix phys_addr_t and phys_size_t support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include/asm-nios2')
-rw-r--r-- | include/asm-nios2/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-nios2/types.h b/include/asm-nios2/types.h index f13d8bd4b4..ea859c0774 100644 --- a/include/asm-nios2/types.h +++ b/include/asm-nios2/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 /* __ASM_NIOS2_TYPES_H */ |