[U-Boot] [PULL] u-boot-stm32 for v2019.07-rc1

Patrick DELAUNAY patrick.delaunay at st.com
Fri Apr 12 15:44:05 UTC 2019


Hi Tom,

please pull u-boot-smt32-20190412 including
the following STM32 related patches for v2019.07-rc1

- add trusted boot with TF-A for stm32mp1
- stm32mp1 dts files sync'ed with Linux version
- add STM32MP1 Discovery boards (DK1 and DK2)
- add STMFX gpio expander driver
- misc improvement for stm3mp1 supports
- rename stpmu1 to stpmic1 (official name)
- stm32_qspi: move to exec_op (spi nor driver for stm32 mpu and mcu)
- add STM32 FMC2 NAND flash controller driver

----------------------------------------------------------------

For trusted boot see bootchain description in WIKI = https://wiki.st.com/stm32mpu/wiki/

These patches are based on ST delivery available
https://github.com/STMicroelectronics/u-boot

This pull request include 8 series for the stm32mp157 support in U-Boot
on the evaluation board (EV1) and on the discovery board support (DK2).

- stm32mp1: add trusted boot with TF-A
  (v4 http://patchwork.ozlabs.org/project/uboot/list/?series=91422)

- stm32mp1: update of stm32mp arch and stm32mp1 board
  (http://patchwork.ozlabs.org/project/uboot/list/?series=94502)

- pmic: stpmic1: rename and update stpmic1 driver
  (http://patchwork.ozlabs.org/project/uboot/list/?series=89855)

- Update stm32_sdmmc2 driver and DT bindings
  (http://patchwork.ozlabs.org/project/uboot/list/?series=91685)

- Add STM32MP1 Discovery boards
  (http://patchwork.ozlabs.org/project/uboot/list/?series=91497)
  + correction for uart4_pins_a in stm32mp157a-dk1-u-boot.dtsi

- Add STMFX gpio expander support for stm32mp157c-ev1 board
  (http://patchwork.ozlabs.org/project/uboot/list/?series=96427)
  + stmfx deactivated to avoid race condition corrected by
  "dm: pinctrl: Avoid race condition on probe for UCLASS_PINCTRL"
  http://patchwork.ozlabs.org/patch/1047723/

- spi: stm32_qspi: move to exec_op
  (http://patchwork.ozlabs.org/project/uboot/list/?series=101152)

- mtd: rawnand: add STM32 FMC2 NAND flash controller driver
  (http://patchwork.ozlabs.org/project/uboot/list/?series=101151)

Thanks,

Patrick


The following changes since commit 48ff1bc4f0a97c3291d0c87c2717fc1d79da5ef5:

  Merge branch '2019-04-09-master-imports-fs' (2019-04-10 08:18:18 -0400)

are available in the git repository at:

  https://github.com/patrickdelaunay/u-boot.git tags/u-boot-stm32-20190412

for you to fetch changes up to 7bb75023a720432a32840c6df543aae92653b23d:

  mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver (2019-04-12 16:09:13 +0200)

----------------------------------------------------------------
stm32 patches for v2019.07-rc1
- Add trusted boot with TF-A for stm32mp1
- stm32mp1 dts files sync'ed with Linux version
- add STM32MP1 Discovery boards (DK1 and DK2)
- add STMFX gpio expander driver
- misc improvement for stm3mp1 supports
- rename stpmu1 to stpmic1 (official name)
- stm32_qspi: move to exec_op (spi nor driver for stm32 mpu and mcu)
- add STM32 FMC2 NAND flash controller driver

----------------------------------------------------------------
Christophe Kerello (3):
      spi: stm32_qspi: move to exec_op
      dt-bindings: mtd: stm32_fmc2: add STM32 FMC2 NAND controller documentation
      mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver

Patrice Chotard (5):
      ARM: dts: stm32: Synchronize DT with kernel one
      board: stm32mp1: Update README file
      Board: stm32mp1: Add supply current boot information
      ARM: dts: stm32mp1: Add adc nodes
      board: stm32mp1: Force pinctrl driver probe in board_init()

Patrick Delaunay (33):
      stm32mp1: add trusted boot with TF-A
      stm32mp1: bsec: access with SMC for trusted boot
      stm32mp1: display board information
      stm32mp1: add runtime information in environment
      stm32mp1: update boot mode management
      stm32mp1: update print_cpuinfo()
      stm32mp1: spl: add spl_display_print
      stm32mp1: cosmetic cleanup Kconfig
      stm32mp1: cosmetic: add comment on psci_migrate_info_type return value
      stm32mp1: spl: hang with trace when DDR init failed
      stm32mp1: update bootcmd
      stm32mp1: activate FASTBOOT on eMMC
      stm32mp1: support forced boot mode
      stm32mp1: update memory layout
      stm32mp1: activated some configuration
      stm32mp1: add some syscon drivers for syscfg and etpzc
      stm32mp1: add syscfg initialization
      stm32mp1: align serial number on bootrom
      stm32mp1: basic boot: SPL enable access to GPIOZ bank
      stm32mp1: bsec: use device tree new compatible
      stm32mp1: bsec: shadow all the upper OTP (no secure) during boot
      stm32mp1: Replace OTP read by SHADOW read
      regulator: stpmu1: update buck1 range
      power: stpmu1: rename files to stpmic1
      power: rename stpmu1 to official name stpmic1
      stpmic1: update register names
      pmic: stpmu1: add power switch off support
      stm32mp1: add command poweroff
      stm32mp1: dts: activate psci-1.0
      stpmic1: add NVM update support in fuse command
      pinctrl: Add STMFX GPIO expander Pinctrl/GPIO driver
      config: stm32mp15: Enable STMFX support
      ARM: dts: Add STMFX gpio expander support for stm32mp157c-ev1

 MAINTAINERS                                       |    2 +
 arch/arm/Kconfig                                  |    8 +-
 arch/arm/dts/Makefile                             |    2 +
 arch/arm/dts/stm32mp15-ddr3-1x4Gb-1066-binG.dtsi  |  120 +++++++
 arch/arm/dts/stm32mp157-pinctrl.dtsi              |   81 +++++
 arch/arm/dts/stm32mp157-u-boot.dtsi               |    6 +
 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi          |  199 +++++++++++
 arch/arm/dts/stm32mp157a-dk1.dts                  |  262 ++++++++++++++
 arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi          |    6 +
 arch/arm/dts/stm32mp157c-dk2.dts                  |   67 ++++
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi          |   40 ++-
 arch/arm/dts/stm32mp157c-ed1.dts                  |   55 +--
 arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi          |   21 +-
 arch/arm/dts/stm32mp157c-ev1.dts                  |  118 ++++++
 arch/arm/dts/stm32mp157c.dtsi                     |  281 +++++++++++++--
 arch/arm/mach-stm32mp/Kconfig                     |   29 +-
 arch/arm/mach-stm32mp/Makefile                    |    3 +
 arch/arm/mach-stm32mp/bsec.c                      |   60 +++-
 arch/arm/mach-stm32mp/cmd_poweroff.c              |   24 ++
 arch/arm/mach-stm32mp/config.mk                   |   15 +-
 arch/arm/mach-stm32mp/cpu.c                       |  214 +++++++++--
 arch/arm/mach-stm32mp/include/mach/stm32.h        |   23 +-
 arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h |   64 ++++
 arch/arm/mach-stm32mp/include/mach/sys_proto.h    |   12 +-
 arch/arm/mach-stm32mp/psci.c                      |    8 +-
 arch/arm/mach-stm32mp/spl.c                       |   39 +-
 arch/arm/mach-stm32mp/syscon.c                    |    9 +-
 board/st/stm32mp1/MAINTAINERS                     |    5 +-
 board/st/stm32mp1/README                          |   85 +++--
 board/st/stm32mp1/board.c                         |   47 +--
 board/st/stm32mp1/spl.c                           |   12 +-
 board/st/stm32mp1/stm32mp1.c                      |  405 ++++++++++++++++++++-
 configs/stm32mp15_basic_defconfig                 |   24 +-
 configs/stm32mp15_trusted_defconfig               |   70 ++++
 doc/device-tree-bindings/mtd/stm32-fmc2-nand.txt  |   59 +++
 drivers/clk/clk_stm32mp1.c                        |    2 +
 drivers/misc/stm32mp_fuse.c                       |   28 ++
 drivers/mtd/nand/raw/Kconfig                      |   11 +
 drivers/mtd/nand/raw/Makefile                     |    1 +
 drivers/mtd/nand/raw/stm32_fmc2_nand.c            | 1092 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/pinctrl/Kconfig                           |   19 +
 drivers/pinctrl/Makefile                          |    1 +
 drivers/pinctrl/pinctrl-stmfx.c                   |  431 ++++++++++++++++++++++
 drivers/power/pmic/Kconfig                        |    6 +-
 drivers/power/pmic/Makefile                       |    2 +-
 drivers/power/pmic/stpmic1.c                      |  255 +++++++++++++
 drivers/power/pmic/stpmu1.c                       |   95 -----
 drivers/power/regulator/Kconfig                   |   14 +-
 drivers/power/regulator/Makefile                  |    2 +-
 drivers/power/regulator/stpmic1.c                 |  672 ++++++++++++++++++++++++++++++++++
 drivers/power/regulator/stpmu1.c                  |  671 ----------------------------------
 drivers/ram/stm32mp1/stm32mp1_ram.c               |    3 +-
 drivers/spi/Kconfig                               |    3 +-
 drivers/spi/stm32_qspi.c                          |  625 +++++++++++++-------------------
 include/configs/stm32mp1.h                        |   62 +++-
 include/dt-bindings/mfd/st,stpmic1.h              |   46 +++
 include/dt-bindings/mfd/st,stpmu1.h               |   60 ----
 include/power/stpmic1.h                           |  117 ++++++
 include/power/stpmu1.h                            |   85 -----
 59 files changed, 5258 insertions(+), 1520 deletions(-)
 create mode 100644 arch/arm/dts/stm32mp15-ddr3-1x4Gb-1066-binG.dtsi
 create mode 100644 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
 create mode 100644 arch/arm/dts/stm32mp157a-dk1.dts
 create mode 100644 arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi
 create mode 100644 arch/arm/dts/stm32mp157c-dk2.dts
 create mode 100644 arch/arm/mach-stm32mp/cmd_poweroff.c
 create mode 100644 arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h
 create mode 100644 configs/stm32mp15_trusted_defconfig
 create mode 100644 doc/device-tree-bindings/mtd/stm32-fmc2-nand.txt
 create mode 100644 drivers/mtd/nand/raw/stm32_fmc2_nand.c
 create mode 100644 drivers/pinctrl/pinctrl-stmfx.c
 create mode 100644 drivers/power/pmic/stpmic1.c
 delete mode 100644 drivers/power/pmic/stpmu1.c
 create mode 100644 drivers/power/regulator/stpmic1.c
 delete mode 100644 drivers/power/regulator/stpmu1.c
 create mode 100644 include/dt-bindings/mfd/st,stpmic1.h
 delete mode 100644 include/dt-bindings/mfd/st,stpmu1.h
 create mode 100644 include/power/stpmic1.h
 delete mode 100644 include/power/stpmu1.h


More information about the U-Boot mailing list