[U-Boot] [PATCH v4] powerpc/SECURE_BOOT: Add PAMU driver

york sun york.sun at nxp.com
Wed Feb 24 17:46:19 CET 2016


On 01/22/2016 03:38 AM, Aneesh Bansal wrote:
> 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 at nxp.com>
> Signed-off-by: Aneesh Bansal <aneesh.bansal at nxp.com>
> ---
> Changes in v4:
> Resolved the format specifier warning by printf()
> 
> Changes in v3:
> Replace the Debug printf() call with debug()
> Merged the two commits into a single commit
> 
> Changes in v2:
> Replace the Debug printf() call with debug()
> 
>  arch/powerpc/cpu/mpc85xx/cpu_init.c   |  18 +-
>  arch/powerpc/cpu/mpc8xxx/Makefile     |   1 +
>  arch/powerpc/cpu/mpc8xxx/fsl_pamu.c   | 433 ++++++++++++++++++++++++++++++++++
>  arch/powerpc/cpu/mpc8xxx/pamu_table.c |  55 +++++
>  arch/powerpc/include/asm/fsl_pamu.h   | 169 +++++++++++++
>  arch/powerpc/include/asm/immap_85xx.h |  19 +-
>  drivers/crypto/fsl/jr.c               |  23 ++
>  7 files changed, 709 insertions(+), 9 deletions(-)
>  create mode 100644 arch/powerpc/cpu/mpc8xxx/fsl_pamu.c
>  create mode 100644 arch/powerpc/cpu/mpc8xxx/pamu_table.c
>  create mode 100644 arch/powerpc/include/asm/fsl_pamu.h

Applied to fsl-qoriq master. Awaiting upstream.

York



More information about the U-Boot mailing list