]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/include/asm/types.h
fsl_sec: Add hardware accelerated SHA256 and SHA1
[karo-tx-uboot.git] / arch / powerpc / include / asm / types.h
index b27a6b753a06cb02f55d187badc8e2f915af761d..b29ce792f7231a0b3e25cb1ff3b172c9fa522553 100644 (file)
@@ -41,8 +41,12 @@ typedef unsigned long long u64;
 
 #define BITS_PER_LONG 32
 
+#ifdef CONFIG_PHYS_64BIT
+typedef unsigned long long dma_addr_t;
+#else
 /* DMA addresses are 32-bits wide */
 typedef u32 dma_addr_t;
+#endif
 
 #ifdef CONFIG_PHYS_64BIT
 typedef unsigned long long phys_addr_t;