diff options
author | Ruchika Gupta <ruchika.gupta@freescale.com> | 2014-10-15 10:05:30 +0400 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-10-17 01:17:07 +0400 |
commit | b9eebfade974c86c8ddef64793649374c9876242 (patch) | |
tree | f3ed778c53a050b715b70845f16e0c8c4b017932 /arch/powerpc/include/asm/types.h | |
parent | 028dbb8db1d18c5835ab34659f9ef7a516571524 (diff) | |
download | u-boot-b9eebfade974c86c8ddef64793649374c9876242.tar.xz |
fsl_sec: Add hardware accelerated SHA256 and SHA1
SHA-256 and SHA-1 accelerated using SEC hardware in Freescale SoC's
The driver for SEC (CAAM) IP is based on linux drivers/crypto/caam.
The platforms needto add the MACRO CONFIG_FSL_CAAM inorder to
enable initialization of this hardware IP.
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/include/asm/types.h')
-rw-r--r-- | arch/powerpc/include/asm/types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/types.h b/arch/powerpc/include/asm/types.h index b27a6b753a..b29ce792f7 100644 --- a/arch/powerpc/include/asm/types.h +++ b/arch/powerpc/include/asm/types.h @@ -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; |