[U-Boot] [PATCH v4 0/3] stm32mp1: add trusted boot with TF-A

Patrick Delaunay patrick.delaunay at st.com
Tue Feb 12 10:44:38 UTC 2019


This patch serie add a new configuration
stm32mp15_trusted_defconfig to handle STM32MP157 boards
with TF-A as secure first stage bootloader.

TF-A code is available in GitHub
https://github.com/ARM-software/arm-trusted-firmware

With platform stm32mp1 platform
https://github.com/ARM-software/arm-trusted-firmware/tree/master/plat/st/stm32mp1

For details, see documentation
https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/plat/stm32mp1.rst

PS: upstream of trusted boot for TF-A is still in progress.


Changes in v4:
    - Rebase on master
    - add CONFIG_CMD_CLK in trusted defconfig
      (allignment with basic defconfig)

Changes in v3:
   - Remove patch 4/4 added by error in v2 and sent by other serie
     http://patchwork.ozlabs.org/patch/1033475/

Changes in v2:
    - Rebase and solve conflict on arch/arm/mach-stm32mp/config.mk

Patrick Delaunay (3):
  stm32mp1: add trusted boot with TF-A
  stm32mp1: bsec: access with SMC for trusted boot
  stm32mp1: display board information

 arch/arm/Kconfig                                  |  6 ++-
 arch/arm/mach-stm32mp/Kconfig                     | 17 ++++--
 arch/arm/mach-stm32mp/bsec.c                      | 28 ++++++++++
 arch/arm/mach-stm32mp/config.mk                   | 15 +++++-
 arch/arm/mach-stm32mp/cpu.c                       |  9 +++-
 arch/arm/mach-stm32mp/include/mach/stm32.h        |  4 ++
 arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h | 64 +++++++++++++++++++++++
 board/st/stm32mp1/MAINTAINERS                     |  5 +-
 board/st/stm32mp1/README                          | 56 ++++++++++++++------
 board/st/stm32mp1/stm32mp1.c                      | 44 +++++++++++++++-
 configs/stm32mp15_trusted_defconfig               | 58 ++++++++++++++++++++
 drivers/clk/clk_stm32mp1.c                        |  2 +
 drivers/ram/stm32mp1/stm32mp1_ram.c               |  3 +-
 include/configs/stm32mp1.h                        |  2 +
 14 files changed, 283 insertions(+), 30 deletions(-)
 create mode 100644 arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h
 create mode 100644 configs/stm32mp15_trusted_defconfig

-- 
2.7.4



More information about the U-Boot mailing list