From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 2 Aug 2008 21:48:31 +0000 (+0200) Subject: nios2: fix phys_addr_t and phys_size_t support X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=81d3f1fdddafd1eb53bbca8739f488d417eb3dd2;p=u-boot.git nios2: fix phys_addr_t and phys_size_t support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/cpu/nios2/interrupts.c b/cpu/nios2/interrupts.c index aeb5b65b33..ec5db31b0f 100644 --- a/cpu/nios2/interrupts.c +++ b/cpu/nios2/interrupts.c @@ -27,6 +27,7 @@ #include #include +#include #include #include #include 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 */