]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/asm-nios2/types.h
nios2: fix phys_addr_t and phys_size_t support
[karo-tx-uboot.git] / include / asm-nios2 / types.h
index f13d8bd4b479cb7595719351c71bad0c3588d456..ea859c07741619194a80210a1353628cc5738685 100644 (file)
@@ -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 */