[U-Boot] [PATCH 0/3] Enable SECURE BOOT in SPL framework

Sumit Garg sumit.garg at nxp.com
Thu Jul 14 18:27:50 CEST 2016


The patch-set does the following:

1. Enable SECURE BOOT framework in SPL for powerpc/mpc85xx and
   arm/layerscape platform.
2. Add NAND SECURE BOOT support for powerpc/mpc85xx T104x platform.


Changes PATCH v5->PATCH v6:
Added README for SECURE BOOT support in SPL framework. Also
incorporated review comments regarding comment style. Also patch
[1] has been accepted in upstream, so no dependency.

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/


Sumit Garg (3):
  powerpc/mpc85xx: SECURE BOOT- Enable chain of trust in SPL
  powerpc/mpc85xx: T104x: Add nand secure boot target
  doc: SPL: Add README for secure boot support

 arch/powerpc/cpu/mpc85xx/cpu_init.c            |  4 +-
 arch/powerpc/cpu/mpc85xx/start.S               | 12 ++++--
 arch/powerpc/cpu/mpc8xxx/fsl_pamu.c            |  8 ++++
 arch/powerpc/cpu/mpc8xxx/pamu_table.c          |  8 ++++
 arch/powerpc/include/asm/fsl_secure_boot.h     | 41 ++++++++++++++++++-
 board/freescale/common/fsl_chain_of_trust.c    | 56 ++++++++++++++++++++++++++
 board/freescale/t104xrdb/t104x_pbi_sb.cfg      | 38 +++++++++++++++++
 board/freescale/t104xrdb/tlb.c                 | 15 ++++++-
 configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig | 30 ++++++++++++++
 doc/SPL/README.spl-secure-boot                 | 18 +++++++++
 drivers/crypto/fsl/jr.c                        | 17 ++++++++
 drivers/mtd/nand/fsl_ifc_spl.c                 | 24 +++++++++++
 include/configs/T104xRDB.h                     | 29 ++++++++++++-
 include/fsl_validate.h                         |  7 ++++
 14 files changed, 298 insertions(+), 9 deletions(-)
 create mode 100644 board/freescale/t104xrdb/t104x_pbi_sb.cfg
 create mode 100644 configs/T1042RDB_PI_NAND_SECURE_BOOT_defconfig
 create mode 100644 doc/SPL/README.spl-secure-boot

-- 
1.8.1.4



More information about the U-Boot mailing list