[U-Boot] [PULL] u-boot-stm32 for v2019.07​ (round 4)

Patrice CHOTARD patrice.chotard at st.com
Fri May 24 06:57:42 UTC 2019


Hi Tom


This pull request include 2 series for the stm32mp157 support in U-Boot:
_ patches for stm32 support :
  (http://patchwork.ozlabs.org/project/uboot/list/?series=103547)

_ stm32mp1: ram: driver update:
  (http://patchwork.ozlabs.org/project/uboot/list/?series=101971)

Travis CI status: https://travis-ci.org/pchotard/u-boot/builds/536341675


The following changes since commit 7e090b466c5ba874d31c1bf22c3a130d516cdc32:

  Merge git://git.denx.de/u-boot-fsl-qoriq (2019-05-22 08:32:24 -0400)

are available in the git repository at:


  https://github.com/pchotard/u-boot.git tags/u-boot-stm32-20190523

for you to fetch changes up to 187c41d783371dc3b7ecae45f450b330f5e1bb25:

  stm32mp1: ram: add tuning in DDR interactive mode (2019-05-23 11:38:11
+0200)

----------------------------------------------------------------
- Add various STM32MP1 fixes for serial, env, clk, board, i2c ...

- Add STM32MP1 DDR driver update:
	These update introduce the DDR interactive mode described in:
	https://wiki.st.com/stm32mpu/index.php/U-Boot_SPL:_DDR_interactive_mode

	This mode is used by the CubeMX: DDR tuning tool.
	https://wiki.st.com/stm32mpu/index.php/STM32CubeMX

	The DDR interactive mode is NOT activated by default because
	it increase the SPL size and slow down the boot time
	(200ms wait added).

----------------------------------------------------------------
Nicolas Le Bayon (2):
      i2c: stm32f7: Fix SDADEL minimum formula
      i2c: stm32f7: improve loopback in timing algorithm

Patrick Delaunay (23):
      stm32mp1: Move config SYS_MALLOC_LEN to Kconfig
      stm32mp1: Move ENV_SIZE and ENV_OFFSET to Kconfig
      stm32mp1: migrate PREBOOT to Kconfig
      stm32mp1: cosmetic: bsec: reorder include files
      stm32mp1: psci: add synchronization with ROM code
      stm32mp1: update RCC binding after kernel realignment
      mkimage: change stm32image header to manage binary information
      stm32mp1: add bootcount support
      armv7: timer: init timer with bootstage
      stm32mp1: add bootstage support
      clk: stm32mp1: add set_rate for DDRPHYC clock
      env: solve compilation error in SPL
      serial: stm32: remove unnecessary trace
      serial: stm32: remove watchog reset in debug putc
      stm32mp1: ram: update mask for operating mode
      stm32mp1: ram: increase the delay after reset to 128 cycles
      stm32mp1: ram: change ddr speed to kHz
      ARM: dts: stm32mp1: DDR config v1.44
      stm32mp1: ram: update parameter array initialization
      stm32mp1: ram: add support for LPDDR2/LPDDR3
      stm32mp1: ram: add interactive mode for DDR configuration
      stm32mp1: ram: add tests in DDR interactive mode
      stm32mp1: ram: add tuning in DDR interactive mode

 Kconfig                                            |    2 +-
 arch/arm/Kconfig                                   |    1 +
 arch/arm/cpu/armv7/arch_timer.c                    |    3 +
 arch/arm/dts/stm32mp15-ddr3-1x4Gb-1066-binG.dtsi   |    8 +-
 arch/arm/dts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi   |   24 +-
 arch/arm/mach-stm32mp/Kconfig                      |   24 +
 arch/arm/mach-stm32mp/bsec.c                       |    2 +-
 arch/arm/mach-stm32mp/include/mach/ddr.h           |    9 +-
 arch/arm/mach-stm32mp/include/mach/stm32.h         |    1 +
 arch/arm/mach-stm32mp/psci.c                       |   22 +-
 board/st/stm32mp1/board.c                          |  171 ++-
 common/Kconfig                                     |    1 +
 common/Makefile                                    |    1 +
 doc/device-tree-bindings/clock/st,stm32mp1.txt     |  427 ++++--
 .../memory-controllers/st,stm32mp1-ddr.txt         |    6 +-
 drivers/clk/clk_stm32mp1.c                         |   83 ++
 drivers/i2c/stm32f7_i2c.c                          |    6 +-
 drivers/ram/stm32mp1/Kconfig                       |   37 +
 drivers/ram/stm32mp1/Makefile                      |    8 +
 drivers/ram/stm32mp1/stm32mp1_ddr.c                |  368 ++++-
 drivers/ram/stm32mp1/stm32mp1_ddr.h                |    4 +-
 drivers/ram/stm32mp1/stm32mp1_ddr_regs.h           |    3 +
 drivers/ram/stm32mp1/stm32mp1_interactive.c        |  483 +++++++
 drivers/ram/stm32mp1/stm32mp1_ram.c                |   18 +-
 drivers/ram/stm32mp1/stm32mp1_tests.c              | 1426
++++++++++++++++++++
 drivers/ram/stm32mp1/stm32mp1_tests.h              |   34 +
 drivers/ram/stm32mp1/stm32mp1_tuning.c             | 1380
+++++++++++++++++++
 drivers/serial/serial_stm32.c                      |    3 +-
 env/Kconfig                                        |    2 +-
 env/common.c                                       |    7 +-
 include/configs/stm32mp1.h                         |   12 -
 tools/stm32image.c                                 |    8 +-
 32 files changed, 4316 insertions(+), 268 deletions(-)
 create mode 100644 drivers/ram/stm32mp1/stm32mp1_interactive.c
 create mode 100644 drivers/ram/stm32mp1/stm32mp1_tests.c
 create mode 100644 drivers/ram/stm32mp1/stm32mp1_tests.h
 create mode 100644 drivers/ram/stm32mp1/stm32mp1_tuning.c


More information about the U-Boot mailing list