]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/types.h
sunxi: move SPL-related definitions to platform-specific include
[u-boot] / arch / arm / include / asm / types.h
index 71dc049da625e521674a6b0cd412283ecade7305..ee77c4179f1aa04c24d37944b870c69ddebb13c3 100644 (file)
@@ -39,7 +39,11 @@ typedef unsigned int u32;
 typedef signed long long s64;
 typedef unsigned long long u64;
 
+#ifdef CONFIG_ARM64
+#define BITS_PER_LONG 64
+#else  /* CONFIG_ARM64 */
 #define BITS_PER_LONG 32
+#endif /* CONFIG_ARM64 */
 
 /* Dma addresses are 32-bits wide.  */
 
@@ -50,4 +54,5 @@ typedef unsigned long phys_size_t;
 
 #endif /* __KERNEL__ */
 
+typedef unsigned long resource_size_t;
 #endif