powerpc/SECURE_BOOT: Add PAMU driver
authorAneesh Bansal <aneesh.bansal@nxp.com>
Fri, 22 Jan 2016 11:35:59 +0000 (17:05 +0530)
committerYork Sun <york.sun@nxp.com>
Wed, 24 Feb 2016 16:40:55 +0000 (08:40 -0800)
commitf698e9f39aaf8ed30dab86f0130ea1e21bc721cc
tree1f573060805e77db4ce8c9820204f4935e3a8b74
parent7f4736bd657afca7c224efb27cab496acd9ee021
powerpc/SECURE_BOOT: Add PAMU driver

PAMU driver basic support for usage in Secure Boot.
In secure boot PAMU is not in bypass mode. Hence to use
any peripheral (SEC Job ring in our case), PAMU has to be
configured.

The patch reverts commit 7cad2e38d61e27ea59fb7944f7e647e97ef292d3.

The Header file pamu.h and few functions in driver have been derived
from Freescale Libos.

Signed-off-by: Ruchika Gupta <ruchika.gupta@nxp.com>
Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc8xxx/Makefile
arch/powerpc/cpu/mpc8xxx/fsl_pamu.c [new file with mode: 0644]
arch/powerpc/cpu/mpc8xxx/pamu_table.c [new file with mode: 0644]
arch/powerpc/include/asm/fsl_pamu.h [new file with mode: 0644]
arch/powerpc/include/asm/immap_85xx.h
drivers/crypto/fsl/jr.c