Releases: STMicroelectronics/arm-trusted-firmware
V2.0 STM32MP release 2.0
The following changes since commit ff7728d:
stm32mp1: platform: update st version to r1.5 (2019-06-26 09:25:07 +0200)
are available in the Git repository at:
https://github.com/STMicroelectronics/arm-trusted-firmware.git tags/v2.0-stm32mp-r2
for you to fetch changes up to 69cc28c:
stm32mp1: platform: update st version to r2.0 (2019-09-24 09:34:00 +0200)
STM32MP release 2.0
- Enable LP/LV Stop on evaluation board
- DDR setting v1.45 / alignment with latest CubeMX generation
- TF-A: Flasher and/or storage support over build flags (BL2)
- Enable digital bypass check inside flash part
- Decrease PLL1 frequency when switching in low power mode
- Increase timer precision for calibration
- Update OTP management
- Many others corrections
Antonio Borneo (1):
fdts: stm32mp1: move FDCAN to PLL4_R
Lionel Debieve (13):
fdts: stm32mp1: update watchdog node name
stm32mp1: pm: reset content of backup register
clk: stm32mp1: reduce clock frequency during low power mode
stm32mp1: sp_min: mask timer interrupt on second core
stm32mp1: calib: add a timer frequency threshold for calibration
clk: stm32mp1 : check HSE configuration in flash mode
driver: st: nand: rework timing function for limit issue
watchdog: stm32_iwdg: do not refresh watchdog if not enabled
clk: stm32mp1: keep RTCAPB clock always enabled
iwdg: stm32: Fix OTP status management
stm32mp1: timer: fix CSI input property typo
services: bsec: fix otp_exchange management
stm32mp1: platform: update st version to r2.0
Nicolas Le Bayon (18):
stm32mp1: calib: move calibration into dedicated driver
stm32mp1: deactivate IO compensation in case of STOP mode
stm32mp1: syscfg: manage clock in IO compensation functions
stm32mp1: independent reset sequence back-alignment
stm32mp1: isb() after dsb()
aarch32: add virtual timer control support
aarch32: rename CNTP_TVAL and CNTP_CTL services
stm32mp1: strengthen independent reset sequence
stm32mp1: prevent secure code from directly access non-secure DDR
bsec: remove value parameter from bsec_otp_lock()
bsec: improve bsec_wr_lock()
bsec: update sticky lock functions
bsec: check error and disturbed status at good places
bsec: rename bsec_wr_lock() into bsec_read_permanent_lock()
fdts: stm32mp1: DDR config to v1.45
bsec: align syntax in function descriptions
bsec: simplify bsec_set_s*_lock
bsec: remove bsec_mode_is_closed_device() service
Yann Gautier (13):
fdts: stm32mp1: Add support for LPLV STOP
stm32mp1: split binaries for programmer and runtime
stm32mp1: use specific functions to initialize each boot device
ddr: stm32mp1: update parameter array initialization
stm32mp1: rework pwr node in device tree
mmc: backport upstream changes
stm32mp1: move SYSCFG init after clock init
mmc: stm32_sdmmc2: manage max-frequency property from DT
mmc: stm32_sdmmc2: correctly manage block size
i2c: stm32_i2c: use saved I2C timing if already calculated
stm32mp1: sp_min: initialize MMU and cache earlier
stm32mp1: configure wakeup interrupt for non-secure software
fdts: stm32mp1: add USBPHYC node
docs/devicetree/bindings/memory-controllers/st,stm32mp1-ddr.txt | 299 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/mmc/mmc.c | 10 +--
drivers/st/bsec/bsec.c | 334 ++++++++++++++++++++++++++++++++++--------------------------------------------------
drivers/st/clk/stm32mp1_calib.c | 530 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/st/clk/stm32mp1_clk.c | 538 +++++++++++----------------------------------------------------------------------------------------------------------------------------
drivers/st/ddr/stm32mp1_ddr.c | 93 ++++++++----------------
drivers/st/ddr/stm32mp1_ram.c | 4 +-
drivers/st/i2c/stm32_i2c.c | 19 ++++-
drivers/st/iwdg/stm32_iwdg.c | 20 +++---
drivers/st/mmc/stm32_sdmmc2.c | 47 +++++++-----
drivers/st/nand/nand.c | 136 +++++++++++++++++------------------
drivers/st/timer/stm32_timer.c | 27 +++++--
fdts/stm32mp15-ddr3-1x4Gb-1066-binG.dtsi | 4 +-
fdts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi | 4 +-
fdts/stm32mp157a-dk1.dts | 8 ++-
fdts/stm32mp157c-ed1.dts | 27 ++++++-
fdts/stm32mp157c-security.dtsi | 2 +-
fdts/stm32mp157c.dtsi | 21 ++++++
include/drivers/mmc.h | 1 +
include/drivers/st/bsec.h | 19 +++--
include/drivers/st/nand.h | 48 ++++++-------
include/drivers/st/stm32_iwdg.h | 4 +-
include/drivers/st/stm32_sdmmc2.h | 3 +-
include/drivers/st/stm32mp1_calib.h | 20 ++++++
include/drivers/st/stm32mp1_clk.h | 11 +--
include/drivers/st/stm32mp1_rcc.h | 3 +
include/lib/aarch32/arch.h | 5 +-
include/lib/aarch32/arch_helpers.h | 5 +-
plat/st/common/bl2_io_storage.c | 550 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------
plat/st/common/stm32mp_dt.c | 15 ++--
plat/st/stm32mp1/bl2_plat_setup.c | 4 +-
plat/st/stm32mp1/include/stm32mp1_private.h | 5 ++
plat/st/stm32mp1/platform.mk | 39 +++++++---
plat/st/stm32mp1/services/bsec_svc.c | 27 ++++---
plat/st/stm32mp1/services/rcc_svc.c | 4 +-
plat/st/stm32mp1/sp_min/sp_min-stm32mp1.mk | 1 +
plat/st/stm32mp1/sp_min/sp_min_setup.c | 60 +++++++++-------
plat/st/stm32mp1/stm32mp1_def.h | 1 +
plat/st/stm32mp1/stm32mp1_helper.S | 2 +-
plat/st/stm32mp1/stm32mp1_low_power.c | 12 +++-
plat/st/stm32mp1/stm32mp1_pm.c | 17 +++--
plat/st/stm32mp1/stm32mp1_private.c | 138 ++++++++++++++++++++++++++++++-----
plat/st/stm32mp1/stm32mp1_security.c | 17 +++--
plat/st/stm32mp1/stm32mp1_shared_resources.c | 4 +-
plat/st/stm32mp1/stm32mp1_syscfg.c | 55 +++++++++++++-
45 files changed, 1893 insertions(+), 1300 deletions(-)
create mode 100644 docs/devicetree/bindings/memory-controllers/st,stm32mp1-ddr.txt
create mode 100644 drivers/st/clk/stm32mp1_calib.c
create mode 100644 include/drivers/st/stm32mp1_calib.h
V2.0 STM32MP release 1.5
The following changes since commit 64453e5:
stm32mp1: platform: update st version to r1.4 (2019-05-22 10:21:29 +0200)
are available in the Git repository at:
https://github.com/STMicroelectronics/arm-trusted-firmware.git tags/v2.0-stm32mp-r1.5
for you to fetch changes up to ff7728d:
stm32mp1: platform: update st version to r1.5 (2019-06-26 09:25:07 +0200)
STM32MP release 1.5
Lionel Debieve (1):
stm32mp1: calib: increase clock error margin boundaries
Nicolas Le Bayon (1):
stm32mp1: platform: update st version to r1.5
Pascal Paillet (1):
stm32mp1: enable retention regulators only for standby with DDR
drivers/st/clk/stm32mp1_clk.c | 5 ++---
include/drivers/st/stm32mp1_pwr.h | 2 ++
plat/st/stm32mp1/bl2_plat_setup.c | 5 ++---
plat/st/stm32mp1/platform.mk | 2 +-
plat/st/stm32mp1/stm32mp1_low_power.c | 15 +++++++++++++--
5 files changed, 20 insertions(+), 9 deletions(-)
V2.0 STM32MP release 1.4
The following changes since commit deb9223:
stm32mp1: platform: update st version to r1.3 (2019-04-26 09:15:24 +0200)
are available in the Git repository at:
https://github.com/STMicroelectronics/arm-trusted-firmware.git tags/v2.0-stm32mp-r1.4
for you to fetch changes up to 64453e5:
stm32mp1: platform: update st version to r1.4 (2019-05-22 10:21:29 +0200)
Lionel Debieve (2):
stm32mp1: enable backup register secure protection
clk: calibration: increase CSI margin and debug info
Nicolas Le Bayon (1):
stm32mp1: platform: update st version to r1.4
Yann Gautier (1):
stm32mp1: use device tree to determine board_id OTP
drivers/st/clk/stm32mp1_clk.c | 22 ++++++++++++++++++++--
fdts/stm32mp157a-dk1.dts | 8 ++++++++
fdts/stm32mp157c-ed1.dts | 8 ++++++++
fdts/stm32mp157c-security.dtsi | 3 ---
plat/st/stm32mp1/bl2_plat_setup.c | 5 +++++
plat/st/stm32mp1/platform.mk | 2 +-
plat/st/stm32mp1/stm32mp1_def.h | 7 ++++++-
plat/st/stm32mp1/stm32mp1_private.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
8 files changed, 102 insertions(+), 18 deletions(-)
V2.0 STM32MP release 1.3
The following changes since commit 314bf41:
stm32mp1: platform: add specific version (2019-03-29 15:23:16 +0100)
are available in the Git repository at:
https://github.com/STMicroelectronics/arm-trusted-firmware.git tags/v2.0-stm32mp-r1.3
for you to fetch changes up to deb9223:
stm32mp1: platform: update st version to r1.3 (2019-04-26 09:15:24 +0200)
STM32MP release 1.3
Lionel Debieve (1):
stm32mp1: platform: update st version to r1.3
Nicolas Le Bayon (2):
stm32mp1: enter DDR in SR before shutting down the plaftorm
bsec: fix value of BSEC_LOCK_PROGRAM service
include/drivers/st/bsec.h | 2 +-
plat/st/stm32mp1/platform.mk | 2 +-
plat/st/stm32mp1/stm32mp1_low_power.c | 5 +++++
3 files changed, 7 insertions(+), 2 deletions(-)
V2.0 STM32MP release 1.2
The following changes since commit 5065ad8:
stm32mp: auth: fixing OP-TEE secure boot issue (2019-02-27 16:51:19 +0100)
are available in the git repository at:
https://github.com/STMicroelectronics/arm-trusted-firmware.git tags/v2.0-stm32mp-r1.2
for you to fetch changes up to 314bf41:
stm32mp1: platform: add specific version (2019-03-29 15:23:16 +0100)
STM32MP release 1.2
Lionel Debieve (3):
clk: stm32mp1: Fix mask value for stm32mp1_clk_sel array
fdts: stm32mp1: DDR config to v1.43
stm32mp1: platform: add specific version
Nicolas Le Bayon (1):
stm32mp1: fix TEE partition offsets for NAND
Patrick Delaunay (1):
fdts: stm32mp1: DDR config to v1.44
Yann Gautier (1):
clk: stm32mp1: use defines for mask values in stm32mp1_clk_sel array
drivers/st/clk/stm32mp1_clk.c | 72 ++++++++++++++++++++++++++++++++++++------------------------------------
fdts/stm32mp15-ddr3-1x4Gb-1066-binG.dtsi | 11 +++++------
fdts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi | 8 +++-----
include/drivers/st/stm32mp1_rcc.h | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
plat/st/stm32mp1/platform.mk | 4 ++++
plat/st/stm32mp1/stm32mp1_def.h | 6 +++---
6 files changed, 130 insertions(+), 51 deletions(-)
V2.0 STM32MP release 1.1
The following changes since commit d023362:
stm32mp1: add full support for platform (2019-01-29 17:49:38 +0100)
are available in the git repository at:
https://github.com/STMicroelectronics/arm-trusted-firmware.git tags/v2.0-stm32mp-r1.1
for you to fetch changes up to 5065ad8:
stm32mp: auth: fixing OP-TEE secure boot issue (2019-02-27 16:51:19 +0100)
STM32MP release 1.1
Etienne Carriere (1):
i2c: stm32_i2c: correct standard mode min bus frequency
Lionel Debieve (4):
stm32mp1: syscfg: fix read of HW2_OTP_PRODUCT_BELOW_2V5
stm32mp1: calibration: fix read of HSI trim value
stm32mp1: calibration: fix to find the best trim value
stm32mp: auth: fixing OP-TEE secure boot issue
Nicolas Le Bayon (1):
stm32mp1: syscfg: fix IO compensation ready state condition
Patrick Delaunay (1):
stm32mp1: clk: correctly handle Clock Spreading Generator
Yann Gautier (1):
stm32mp1: allow debugger to reconstruct backtrace on panic
drivers/st/clk/stm32mp1_clk.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------
drivers/st/i2c/stm32_i2c.c | 22 +++++++++++-----------
include/drivers/st/stm32mp1_rcc.h | 3 ++-
plat/st/common/include/stm32mp_auth.h | 8 ++++++++
plat/st/common/stm32mp_auth.c | 23 +++++++++++++++++------
plat/st/stm32mp1/bl2_plat_setup.c | 9 +++++++++
plat/st/stm32mp1/stm32mp1_def.h | 3 +++
plat/st/stm32mp1/stm32mp1_helper.S | 11 ++++++++---
plat/st/stm32mp1/stm32mp1_syscfg.c | 22 +++++++++++-----------
9 files changed, 121 insertions(+), 53 deletions(-)
V2.0 STM32MP release 1.0
The following changes since commit dbc8d94:
Merge pull request ARM-software#1602 from soby-mathew/sm/v2.0_docs_fixup (2018-10-02 14:13:37 +0100)
are available in the Git repository at:
https://github.com/STMicroelectronics/arm-trusted-firmware.git tags/v2.0-stm32mp-r1
for you to fetch changes up to d023362:
stm32mp1: add full support for platform (2019-01-29 17:49:38 +0100)
STM32MP15x Series release 1
Lionel Debieve (1):
stm32mp1: add full support for platform
.checkpatch.conf | 18 ++
Makefile | 56 +++-
bl2/aarch32/bl2_arch_setup.c | 1 +
bl2/aarch32/bl2_el3_entrypoint.S | 4 +
bl2/aarch32/bl2_el3_exceptions.S | 9 +
bl2/aarch32/bl2_entrypoint.S | 9 +
bl2/bl2_image_load_v2.c | 14 +-
bl2/bl2_private.h | 3 +
bl2u/aarch32/bl2u_entrypoint.S | 9 +
bl32/sp_min/aarch32/entrypoint.S | 9 +
common/aarch32/debug.S | 54 +++-
docs/devicetree/bindings/arm/secure.txt | 53 ++++
docs/devicetree/bindings/clock/st,stm32mp1-rcc.txt | 324 +++++++++++++++++++
docs/devicetree/bindings/i2c/i2c-stm32.txt | 54 ++++
docs/devicetree/bindings/mmc/mmci.txt | 72 +++++
docs/devicetree/bindings/mmc/st,stm32-sdmmc2.txt | 22 ++
docs/devicetree/bindings/power/st,stm32mp1-pwr.txt | 42 +++
docs/devicetree/bindings/power/st,stpmic1.txt | 132 ++++++++
docs/devicetree/bindings/reset/st,stm32mp1-rcc.txt | 6 +
docs/devicetree/bindings/rng/st,stm32-rng.txt | 23 ++
docs/devicetree/bindings/serial/st,stm32-usart.txt | 88 ++++++
docs/devicetree/bindings/soc/st,stm32-etzpc.txt | 56 ++++
docs/devicetree/bindings/soc/st,stm32-romem.txt | 31 ++
docs/devicetree/bindings/soc/st,stm32-stgen.txt | 18 ++
docs/devicetree/bindings/soc/st,stm32-tamp.txt | 22 ++
docs/devicetree/bindings/watchdog/st,stm32-iwdg.txt | 28 ++
docs/plat/stm32mp1.rst | 16 +
docs/porting-guide.rst | 44 ++-
drivers/arm/pl011/aarch32/pl011_console.S | 139 +++++++-
drivers/arm/pl011/aarch64/pl011_console.S | 3 +-
drivers/arm/tzc/tzc400.c | 129 ++++++++
drivers/cadence/uart/aarch64/cdns_console.S | 4 +-
drivers/console/aarch32/console.S | 105 +------
drivers/console/aarch32/deprecated_console.S | 112 +++++++
drivers/console/aarch32/multi_console.S | 318 +++++++++++++++++++
drivers/console/aarch64/skeleton_console.S | 9 +-
drivers/coreboot/cbmem_console/aarch64/cbmem_console.S | 3 +-
drivers/io/io_block.c | 8 +-
drivers/io/io_memmap.c | 5 +-
drivers/io/io_semihosting.c | 4 +-
drivers/io/io_storage.c | 2 +-
drivers/mmc/mmc.c | 23 +-
drivers/partition/gpt.c | 10 +-
drivers/partition/partition.c | 2 +-
drivers/st/bsec/bsec.c | 911 +++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/st/clk/stm32mp1_clk.c | 2247 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------
drivers/st/clk/stm32mp1_clkfunc.c | 211 +------------
drivers/st/clk/stm32mp_clkfunc.c | 307 ++++++++++++++++++
drivers/st/ddr/stm32mp1_ddr.c | 484 ++++++++++++++++++----------
drivers/st/ddr/stm32mp1_ddr_helpers.c | 510 +++++++++++++++++++++++++++++-
drivers/st/ddr/stm32mp1_ram.c | 194 +++++++-----
drivers/st/etzpc/etzpc.c | 310 ++++++++++++++++++
drivers/st/gpio/stm32_gpio.c | 267 +++++++++++++---
drivers/st/hash/hash_sec.c | 369 ++++++++++++++++++++++
drivers/st/i2c/stm32_i2c.c | 1371 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/st/io/io_mmc.c | 134 ++++++++
drivers/st/io/io_programmer_st_usb.c | 379 ++++++++++++++++++++++
drivers/st/io/io_stm32image.c | 381 ++++++++++++++++++++++
drivers/st/iwdg/stm32_iwdg.c | 289 +++++++++++++++++
drivers/st/mmc/stm32_sdmmc2.c | 752 ++++++++++++++++++++++++++++++++++++++++++++
drivers/st/nand/io_nand.c | 228 ++++++++++++++
drivers/st/nand/nand.c | 1548 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/st/pmic/stm32_i2c.c | 851 -------------------------------------------------
drivers/st/pmic/stm32mp1_pmic.c | 346 --------------------
drivers/st/pmic/stm32mp_pmic.c | 522 ++++++++++++++++++++++++++++++
drivers/st/pmic/stpmic1.c | 817 +++++++++++++++++++++++++++++++++++++++++++++++
drivers/st/pmic/stpmu1.c | 600 -----------------------------------
drivers/st/qspi/io_qspi.c | 349 +++++++++++++++++++++
drivers/st/reset/stm32mp1_reset.c | 64 +++-
drivers/st/rng/stm32_rng.c | 191 +++++++++++
drivers/st/rtc/stm32_rtc.c | 499 +++++++++++++++++++++++++++++
drivers/st/tamper/stm32_tamp.c | 375 ++++++++++++++++++++++
drivers/st/timer/stm32_timer.c | 297 ++++++++++++++++++
drivers/st/uart/aarch32/stm32_console.S | 151 +++++++--
drivers/st/uart/io_programmer_uart.c | 597 +++++++++++++++++++++++++++++++++++
drivers/st/uart/stm32mp1xx_hal_uart.c | 799 ++++++++++++++++++++++++++++++++++++++++++++++
drivers/st/usb_dwc2/usb_dwc2.c | 858 ++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/ti/uart/aarch64/16550_console.S | 3 +-
fdts/stm32mp15-ddr.dtsi | 2 +-
fdts/stm32mp15-ddr3-1x4Gb-1066-binG.dtsi | 121 +++++++
fdts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi | 19 +-
fdts/stm32mp157-pinctrl.dtsi | 154 +++++++--
fdts/stm32mp157a-dk1.dts | 464 +++++++++++++++++++++++++++
fdts/stm32mp157c-dk2.dts | 16 +
fdts/stm32mp157c-ed1.dts | 342 ++++++++++++++++----
fdts/stm32mp157c-ev1.dts | 52 ++-
fdts/stm32mp157c-security.dtsi | 71 +++++
fdts/stm32mp157c.dtsi | 215 ++++++++++---
fdts/stm32mp157caa-pinctrl.dtsi | 8 +-
fdts/stm32mp157cab-pinctrl.dtsi | 62 ++++
fdts/stm32mp157cac-pinctrl.dtsi | 78 +++++
fdts/stm32mp157cad-pinctrl.dtsi | 62 ++++
include/common/aarch32/console_macros.S | 84 +++++
include/common/aarch64/console_macros.S | 46 ++-
include/common/tbbr/tbbr_img_def.h | 8 +-
include/drivers/arm/tzc400.h | 4 +
include/drivers/io/io_driver.h | 2 +-
include/driver...