u-boot/drivers/crypto/fsl
horia.geanta@freescale.com 3ef2412de6 drivers/crypto/fsl: fix snooping for write transactions
HW coherency won't work properly for CAAM write transactions
if AWCACHE is left to default (POR) value - 4'b0001.
It has to be programmed to 4'b0010.

For platforms that have HW coherency support:
-PPC-based: the update has no effect; CAAM coherency already works
due to the IOMMU (PAMU) driver setting the correct memory coherency
attributes
-ARM-based: the update fixes cache coherency issues,
since IOMMU (SMMU) driver is not programmed to behave similar to PAMU

Fixes: b9eebfade9 ("fsl_sec: Add hardware accelerated SHA256 and SHA1")
Signed-off-by: Horia Geantă <horia.geanta@freescale.com>
Reviewed-by: Aneesh Bansal <aneesh.bansal@freescale.com>
Reviewed-by: Mingkai Hu <Mingkai.Hu@freescale.com>
Acked-by: Ruchika Gupta<ruchika.gupta@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
2015-08-03 12:06:38 -07:00
..
desc.h imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
desc_constr.h fsl_sec: Add hardware accelerated SHA256 and SHA1 2014-10-16 14:17:07 -07:00
error.c fsl_sec: Add hardware accelerated SHA256 and SHA1 2014-10-16 14:17:07 -07:00
fsl_blob.c imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
fsl_hash.c crypto/fsl - Add progressive hashing support using hardware acceleration. 2015-02-25 13:20:02 -08:00
fsl_hash.h crypto/fsl - Add progressive hashing support using hardware acceleration. 2015-02-25 13:20:02 -08:00
fsl_rsa.c DM: crypto/fsl - Add Freescale rsa DM driver 2015-01-29 17:09:58 -07:00
jobdesc.c imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
jobdesc.h imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
jr.c drivers/crypto/fsl: fix snooping for write transactions 2015-08-03 12:06:38 -07:00
jr.h drivers/crypto/fsl: fix snooping for write transactions 2015-08-03 12:06:38 -07:00
Kconfig DM: crypto/fsl - Add Freescale rsa DM driver 2015-01-29 17:09:58 -07:00
Makefile imx6: Added DEK blob generator command 2015-03-02 09:57:06 +01:00
rsa_caam.h DM: crypto/fsl - Add Freescale rsa DM driver 2015-01-29 17:09:58 -07:00
sec.c drivers/crypto/fsl: fix "era" property value on LE platforms 2015-08-03 12:06:38 -07:00