]> git.sur5r.net Git - u-boot/blobdiff - include/asm-ppc/types.h
8360, kmeter1: added bootcount feature.
[u-boot] / include / asm-ppc / types.h
index 7adf1450f250f29c7ff473784e0518053f04fd1f..864391f03bd12391e215b625f544efbec4fe8bcd 100644 (file)
@@ -44,6 +44,14 @@ typedef unsigned long long u64;
 /* DMA addresses are 32-bits wide */
 typedef u32 dma_addr_t;
 
+#ifdef CONFIG_PHYS_64BIT
+typedef unsigned long long phys_addr_t;
+typedef unsigned long long phys_size_t;
+#else
+typedef unsigned long phys_addr_t;
+typedef unsigned long phys_size_t;
+#endif
+
 #endif /* __KERNEL__ */
 #endif /* __ASSEMBLY__ */