]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/types.h
x86: Add support for the samus chromebook
[u-boot] / arch / arm / include / asm / types.h
index 2326420a7f755f9837dc165f10fa83b08a7cd2e1..388058e04c5b88a3aa62a22dc54dc3634a4cc65f 100644 (file)
@@ -45,13 +45,18 @@ typedef unsigned long long u64;
 #define BITS_PER_LONG 32
 #endif /* CONFIG_ARM64 */
 
-/* Dma addresses are 32-bits wide.  */
-
+#ifdef CONFIG_PHYS_64BIT
+typedef unsigned long long dma_addr_t;
+typedef unsigned long long phys_addr_t;
+typedef unsigned long long phys_size_t;
+#else
+/* DMA addresses are 32-bits wide */
 typedef u32 dma_addr_t;
-
 typedef unsigned long phys_addr_t;
 typedef unsigned long phys_size_t;
+#endif
 
 #endif /* __KERNEL__ */
 
+typedef unsigned long resource_size_t;
 #endif