[U-Boot] [PATCH 1/3] powerpc/mpc85xx: SECURE BOOT- Enable chain of trust in SPL

Simon Glass sjg at google.com
Sun Jul 17 16:12:25 CEST 2016


On 14 July 2016 at 10:27, Sumit Garg <sumit.garg at nxp.com> wrote:
> As part of Chain of Trust for Secure boot, the SPL U-Boot will validate
> the next level U-boot image. Add a new function spl_validate_uboot to
> perform the validation.
>
> Enable hardware crypto operations in SPL using SEC block.
> In case of Secure Boot, PAMU is not bypassed. For allowing SEC block
> access to CPC configured as SRAM, configure PAMU.
>
> Reviewed-by: Ruchika Gupta <ruchika.gupta at nxp.com>
> Signed-off-by: Aneesh Bansal <aneesh.bansal at nxp.com>
> Signed-off-by: Sumit Garg <sumit.garg at nxp.com>
> ---
>
> Changes PATCH v5->PATCH v6:
> Incorporated review comments regarding comment style.
>
> Changes PATCH v4->PATCH v5:
> Check for def CONFIG_SPL_DM and ndef CONFIG_SPL_FRAMEWORK instead
> of def CONFIG_DM macro to include call to dm_init_and_scan().
> As dm_init_and_scan() is called as part of common SPL framework,
> so no need to call it again but in case of powerpc platforms which
> currently do not use common SPL framework, so need to include this
> function call here.
>
> Changes PATCH v3->PATCH v4:
> Generic changes in lib, drivers, common Makefiles removed from
> this patchset. Rebased this patchset on top of patch [1], so this
> patchset is dependent on patch [1].
>
> Changes PATCH v2->PATCH v3:
> Patches rebased
>
> Changes PATCH->PATCH v2:
> Patches rebased
>
> [1]https://patchwork.ozlabs.org/patch/627664/
>
>  arch/powerpc/cpu/mpc8xxx/fsl_pamu.c         |  8 +++++
>  arch/powerpc/cpu/mpc8xxx/pamu_table.c       |  8 +++++
>  arch/powerpc/include/asm/fsl_secure_boot.h  | 31 +++++++++++++++-
>  board/freescale/common/fsl_chain_of_trust.c | 56 +++++++++++++++++++++++++++++
>  drivers/crypto/fsl/jr.c                     | 17 +++++++++
>  drivers/mtd/nand/fsl_ifc_spl.c              | 24 +++++++++++++
>  include/fsl_validate.h                      |  7 ++++
>  7 files changed, 150 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list