]> git.dujemihanovic.xyz Git - u-boot.git/commit
armv8: fsl-lsch3: Disable SMMU during secure boot
authorSaksham Jain <saksham.jain@nxp.com>
Wed, 23 Mar 2016 10:54:40 +0000 (16:24 +0530)
committerYork Sun <york.sun@nxp.com>
Tue, 29 Mar 2016 15:46:22 +0000 (08:46 -0700)
commit4a97a0c91d25763d7c3af5530c5e89f53fee7643
tree7f49fd151c1329dccfb276ba4e72c03cf292fbe4
parent809d343a1a778e68d519c04e01118bd8eb990eff
armv8: fsl-lsch3: Disable SMMU during secure boot

During secure boot, SMMU is enabled on POR by SP bootrom. SMMU needs
to be put in bypass mode in uboot to enable CAAM transcations to pass
through.

For non-secure boot, SP BootROM doesn't enable SMMU, which is in
bypass mode out of reset.

Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com>
Signed-off-by: Saksham Jain <saksham.jain@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h